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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Mar 13 15:21:09 PDT 2012


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

--- Comment #21 from René Stadler <mail at renestadler.de> 2012-03-13 22:21:01 UTC ---
Created an attachment (id=209657)
 View: https://bugzilla.gnome.org/attachment.cgi?id=209657
 Review: https://bugzilla.gnome.org/review?bug=634407&attachment=209657

WIP gst_util_make_stream_id function

This implements a function like I mentioned in comment 19. It takes a srcpad
and an optional element klass string (a single one for now, so no slashes in
there). It walks the pipeline graph upstream, crossing bin boundaries and
traversing into them. Calling this on an audio pad of decodebin2, this can
return for example:

"filesrc:src,typefind:src,matroskademux:audio_01,multiqueue:src2,ac3parse:src,capsfilter:src,a52dec:src"

So it describes the whole pipeline upstream from that pad (sink pad names could
be added too, but are less useful). When you pass "demuxer" as the klass, this
is limited to just:

"matroskademux:audio_01"

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