gstreamermm Gst::ElementInterfaced and Gst::XOverlay cannot be resolved

pjsanfil pjsanfil at gmail.com
Sat Jun 18 20:34:15 UTC 2016


Hi,

Using gstreamermm-1.0 I am trying to set a DrawingArea to place video
frames in. Using the following code to try and set the XID for where to
place the frames:
        Glib::RefPtr<Gst::Element> element =
Glib::RefPtr<Gst::Element>::cast_dynamic(msg->get_source());
        Glib::RefPtr< Gst::ElementInterfaced<Gst::XOverlay> > xoverlay =
        Gst::Interface::cast <Gst::XOverlay>(element);

I get compiler errors saying ElementInterfaced is not a member of Gst   and
XOverlay is not a member of Gst.

When I search through my header files for XOverlay I do not see it defined
anywhere. The instructions for the Gst::VideoOverlay class say to set the
XID this way.

Thanks,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160618/7a4d3611/attachment.html>


More information about the gstreamer-devel mailing list