Videotestsrc with Playbin?

Sebastian Dröge sebastian at centricular.com
Fri Feb 14 13:58:14 PST 2014


On Fr, 2014-02-14 at 12:19 -0800, joshua.kurland wrote:
> So what you are saying is that I can make a bin with videotestsrc as its
> source, then set that bin to the uri property of playbin using the
> GstUriHandler interface?

No, your bin needs to *implement* the GstURIHandler interface and by
that notify GStreamer that it can handle a specific URI scheme you
defined (e.g. videotestsrc://pattern-id).

You also need to give that bin a rank >= GST_RANK_MARGINAL to have it
used. Afterwards you can just use an URI that your bin handles on
playbin, and your bin will automatically be used.

-- 
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/20140214/8782cac6/attachment.pgp>


More information about the gstreamer-devel mailing list