<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 12, 2019 at 9:20 AM pisymbol . <<a href="mailto:pisymbol@gmail.com">pisymbol@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 11, 2019 at 11:19 PM Guillaume Desmottes <<a href="mailto:guillaume.desmottes@collabora.com" target="_blank">guillaume.desmottes@collabora.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF">
    <p>Hi there,</p>
    <p>The gtksink and gtkglsink in
<a class="gmail-m_2515368741823145610gmail-m_8468682968091899865moz-txt-link-freetext" href="https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/tree/master/tests/examples/gtk" target="_blank">https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/tree/master/tests/examples/gtk</a><br>
      should be helpful to you.</p></div></blockquote><div>Great! I know them. Now an example that uses them? :-)<br></div><br></div></div></blockquote><div><br></div><div>Full disclosure: I have now gotten it to work from a tip by Mattias. My point though is that in order to link videoconvert to gtksink you need to expose videoconverts src as a ghost pad which is no where to be found in the documentation. <br></div><div><br></div><div>What worked for me (the missing link - literally):</div><div><br></div><div>ghostpad = Gst.Ghostpad.new("sink", videoconveter_element.get_static_pad('src'))</div><div>bin.add_pad(ghotspad)</div><div><br></div><div>And then I was able to link in gtksink and pack it using gtksink.props.widget. This stuff needs to be documented since the overwhelming majorities that turn up on Google simply do not work with the current API.<br></div><div><br></div><div>-aps<br></div></div></div>