<html><head></head><body><div>Hi,</div><div><br></div><div>On Fri, 2016-08-12 at 15:02 +0000, Jan Alexander Steffens wrote:</div><blockquote type="cite"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Fri, Aug 12, 2016 at 4:24 PM Emmanuel Pacaud <<a href="mailto:emmanuel.pacaud@lapp.in2p3.fr">emmanuel.pacaud@lapp.in2p3.fr</a>> wrote:<br></div><blockquote type="cite">When this application runs in a X11 session, everything works fine,<br>
like on the attached screenshot. But in a wayland session, the video is<br>
displayed in a separate window, instead of being embedded in the main<br>
application window.<br>
<br>
My code is based on what is in the GstOverlayElement documentation, in<br>
the GstVideOverlay and Gtk+ paragraph, which obviously doesn't handle<br>
the wayland case. How are we supposed to proceed in this case ?<br></blockquote><div></div></div></div></blockquote><pre><br></pre><div>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.</div><pre><br></pre><div><span><pre><pre>-- <br></pre>Olivier CrĂȘte
olivier.crete@collabora.com
</pre></span></div></body></html>