interface of autovideosynk for android

Sebastian Dröge sebastian at centricular.com
Mon Aug 25 23:36:38 PDT 2014


On Mo, 2014-08-25 at 18:33 +0400, Anton Olegovich wrote:
> Hi.
> 
> I've downloaded the new version of GST (1.4.0) for android development....
> 
> I'm using some concepts, described at tutorial #3 for droid.
> 
> Here was my pipe worked at Congo version:
> 
> gst_bin_add_many(GST_BIN(data->video_pipeline),udpsrc,rtph264depay,avdec_h264,videorate,clockoverlay,tee,queue,autovideosink,NULL);
> 
> And now i can't retrive autovideosink by interface:
> data->video_sink = 
> gst_bin_get_by_interface(GST_BIN(data->video_pipeline), 
> GST_TYPE_VIDEO_OVERLAY)
> 
> What is it?

You either have to create glimagesink instead of autovideosink, or set
the pipeline or autovideosink to the READY state before trying to get
the actual sink.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- 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/20140826/9fd0cdca/attachment.sig>


More information about the gstreamer-devel mailing list