Overlay Video on Wayland
Nicolas Dufresne
nicolas at ndufresne.ca
Tue Apr 17 11:51:52 UTC 2018
Le lundi 16 avril 2018 à 23:13 -0400, Scott Talbert a écrit :
> On Mon, 16 Apr 2018, Nicolas Dufresne wrote:
>
> > > Is it possible to use video overlays (either with GstPlayer or playbin) on
> > > Wayland surfaces? And if so, what is the recommended approach? I saw
> > > there was 'waylandsink' but it doesn't seem to be public.
> >
> > waylansink is part of gst-plugins-bad (unstable), and can be used with
> > GstVideoOverlay interface on wayland. Run "gst-inspect-1.0 waylandsink"
> > for details. An example application can be found here:
> >
> > https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/waylandsink
>
> The problem, though, is that gst/wayland/wayland.h header is not public.
>
> See
> https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst-libs/gst/wayland/Makefile.am#n26
You don't really need that library. The geometry stuff can be ignored,
and then the rest is just helpers around string comparison:
https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst-libs/gst/wayland/wayland.c
If you really want these helpers, you can copy them in your app.
>
> Scott
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180417/92fefaf4/attachment.sig>
More information about the gstreamer-devel
mailing list