UDP sink Gstreamer + Android

Sebastian Dröge sebastian at centricular.com
Thu May 21 14:30:15 PDT 2015


On Mi, 2015-05-20 at 21:25 -0700, shubhamjan12 wrote:
> Hey Sebastian, I have read the instructions on the given link
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideooverlay.html#gst-video-overlay-prepare-window-handle
> & trying to implement the example of gstreamer and qt as shown in the above
> link but i am getting an error again and again i.e. GLib-GObject WARNING **
> : invalid cast from 'GstVideoTestSrc' to 'GstVideoOverlay' This may be
> probably due to the line in code:  gst_video_overlay_set_window_handle
> (GST_VIDEO_OVERLAY (sink), xwinid);

You have to call that on the sink, not the source. That warning tells
you that you call it in videotestsrc, which does not implement the
GstVideoOverlay interface.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150522/f149a679/attachment.sig>


More information about the gstreamer-devel mailing list