[gst-devel] using xoverlay

Stefan Kost ensonic at hora-obscura.de
Sun Dec 16 20:59:03 CET 2007


Vinod Nanjaiah schrieb:
> 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

Are you by chance working on an Nokia 770? If the that wont work.
1.) The DspMpeg4Sink is a decoder sink that directly renders into the framebuffer.
2.) There is not xvideo support for the platform.

Both N800 and N810 have XVideo support and also normal decoders.


> Can someone please, please enlighten me on this.
> Regards,
> Vinod

More information about the gstreamer-devel mailing list