GstVideoOverlay, Gtk3 and Wayland

Olivier Crête olivier.crete at collabora.com
Fri Aug 19 22:51:27 UTC 2016


Hi,

On Fri, 2016-08-12 at 15:02 +0000, Jan Alexander Steffens wrote:
> > On Fri, Aug 12, 2016 at 4:24 PM Emmanuel Pacaud <emmanuel.pacaud at lapp
.in2p3.fr> wrote:
> > When this application runs in a X11 session, everything works fine,
> > > > like on the attached screenshot. But in a wayland session, the
video is
> > 
> > > > displayed in a separate window, instead of being embedded in the
main
> > 
> > application window.
> > 
> > 
> > 
> > > > My code is based on what is in the GstOverlayElement documentation,
in
> > 
> > > > the GstVideOverlay and Gtk+ paragraph, which obviously doesn't
handle
> > 
> > the wayland case. How are we supposed to proceed in this case ?
> 
> 

The other portable way is to use gtkglsink which has a property that
gives you a widget. Or you can use gtksink if you want non-accelerated
rendering (which will be a lot more CPU intensive). This should work on
both X and Wayland clients.

-- 
Olivier Crête
olivier.crete at collabora.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160819/fdcc6817/attachment.html>


More information about the gstreamer-devel mailing list