[gst-devel] using xoverlay

Robert RobertCL at iname.com
Sat Dec 15 17:21:48 CET 2007

Vinod Nanjaiah wrote:
> Hi!
> Has anyone successfully used Xoverlay ;-)
> I just can't seem to get the bus message "GST_MESSAGE_ELEMENT" so that I can
> proceed and call gst_x_overlay_set_xwindow_id ().
> If however, I don't check for the message and directly call
> gst_x_overlay_set_xwindow_id (), my app just seg faults with the following
> errors.
> GLIB WARNING ** GLib-GObject - invalid cast from `GstDSPMPEG4Sink' to
> `GstXOverlay'
> GLIB CRITICAL ** GStreamer - gst_implements_interface_cast: assertion
> `gst_element_implements_interface (GST_ELEMENT (from), iface_type)' failed
> Can someone please, please enlighten me on this.
> Regards,
> Vinod

Perhaps if you post the pipeline you are using and relevant bit of code 
then someone might be able to help you.  Without seeing that, it's 
difficult to say what could be wrong.


More information about the gstreamer-devel mailing list