source element deployment in uridecodebin

Justin Joy justin.joy.9to5 at gmail.com
Mon Jul 29 17:41:14 PDT 2013


Hello,

Although an uridecodebin provides very strong feature to deploy elements
chain,
I am still curious about deployment specified source element for a given
uri.

For example, if I want to play a file, I mean that I use an uri which
starts with "file://",
an uridecodebin will create filesrc element.
However, what I want to deploy is my own filesrc element which works with
same uri.
If you think about a filesrc with DRM, it will help you to understand my
situation.

In gstreamer's test code, a rank of the element is dynamically adjusted
before loading uridecodebin.
but if there is a property in uridecodebin to specify source like
"video-sink" of playbin,
my problem could be solved.

In sum, which one is more proper for maintaining code?
 - the first is to modify rank of element dynamically.
 - the second is to add a property to set a source element forcedly.

Could you advise me?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130730/212427c3/attachment.html>


More information about the gstreamer-devel mailing list