[gst-devel] using xoverlay

Vinod Nanjaiah Vinod_Nanjaiah at mindtree.com
Sat Dec 15 15:25:45 CET 2007


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



DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited.
E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Consulting Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside.
Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.
MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where.




More information about the gstreamer-devel mailing list