<div dir="ltr"><div><div><div>I tried using VideoOverlay and then using   set_window_handle(XID);<br></div>and that compiled but did not work. Once I ran the program the default behavior of creating a new window to put the video stream in occurred. The documentation saying to use XOverlay is in the VideoOverlay class documentation.<br><br></div>Thanks,<br></div>Paul<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 20, 2016 at 3:51 AM, Tim Müller <span dir="ltr"><<a href="mailto:tim@centricular.com" target="_blank">tim@centricular.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, 2016-06-18 at 15:34 -0500, pjsanfil wrote:<br>
<br>
Hi,<br>
<br>
> Using gstreamermm-1.0 I am trying to set a DrawingArea to place video<br>
> frames in. Using the following code to try and set the XID for where<br>
> to place the frames:<br>
>         Glib::RefPtr<Gst::Element> element =<br>
> Glib::RefPtr<Gst::Element>::cast_dynamic(msg->get_source());<br>
>         Glib::RefPtr< Gst::ElementInterfaced<Gst::XOverlay> ><br>
> xoverlay =<br>
>         Gst::Interface::cast <Gst::XOverlay>(element);<br>
> I get compiler errors saying ElementInterfaced is not a member of<br>
> Gst   and XOverlay is not a member of Gst.<br>
> When I search through my header files for XOverlay I do not see it<br>
> defined anywhere. The instructions for the Gst::VideoOverlay class<br>
> say to set the XID this way.<br>
> Thanks,<br>
<br>
</span>It sounds like the gstreamer-mm documentation needs to be updated then.<br>
You probably need to use ::VideoOverlay instead of ::XOverlay.<br>
<br>
Cheers<br>
<span class="HOEnZb"><font color="#888888"> -Tim<br>
--<br>
<br>
Tim Müller, Centricular Ltd - <a href="http://www.centricular.com" rel="noreferrer" target="_blank">http://www.centricular.com</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</font></span></blockquote></div><br></div>