[Bug 634407] decodebin2 should expose pads in a deterministic order

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Aug 3 12:32:36 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=634407
  GStreamer | gst-plugins-base | unspecified

--- Comment #49 from Stefan Sauer (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2012-08-03 19:32:33 UTC ---
> (In reply to comment #47)
> > My hope for this functionality is that I can get a name/object for each stream
> > from discoverer and then when I want to plug things to decodebin I can use
> > those names/objects to identify the stream I want, so in the sense that I hope
> > to just use objects and not string recognition I am fine either way.
> 
> This will only work for the case when the source implements the URI handler
> interface and has an URI... or the source somehow (see above) provides another
> deterministic stream-id. The default case would provide a random stream ID.
> 
> In any case, after these changes and after they are implemented wherever
> needed, you will be able to match streams by doing a string comparison of the
> stream-ids.

How would the matching help if the stream-ids are generated with a
random-number generator? Wouldn't it make more sense to hash the caps?

My use case is pretty much the same as Christians. I am using gst-discoverer to
figure out the number and properties of streams and then want to configure
playbin to play a certain stream.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list