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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Aug 4 01:39:48 PDT 2012


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

--- Comment #53 from Stefan Sauer (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2012-08-04 08:39:42 UTC ---
(In reply to comment #52)
> (In reply to comment #49)
> > 
> > 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?
> 
> The PRNG is only used for the case when the URI query returns nothing and
> there's no upstream stream-id yet. Problem with hashing the caps is that
> they're not unique, not even in the same pipeline.
> For the cases when there's no URI for the stream we would need another solution
> like the one I mentioned above, but that can be added later.
> 
> Also, with these stream-ids it would now be possible to sort the streams inside
> decodebin/playbin to have a deterministic order of pads/streams.

Okay, so it is uri + stream_id and who ever sets the stream id, needs to ensure
that the stream id is picked in a deterministic manner? I probably have to see
it end-to-end, as now I still wonder how this will work. We still need to pick
stream_ids in a deterministic way, right?

-- 
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