GNOME Bugzilla – Bug 696598
decodebin pads no longer match order in file
Last modified: 2013-03-26 09:58:38 UTC
After this patch, the audio streams in decodebin do not necessarily correspond to the order of streams in the file. This may be limited to MXF, attempting to figure that out now. commit 500b86489923b8add387598f367eb8368522c9de Author: Tim-Philipp Müller <tim@centricular.net> Date: Sat Jan 19 13:03:03 2013 +0000 decodebin: try harder to always expose pads in the same order Use stream-id as sort criterion in addition to the media type. https://bugzilla.gnome.org/show_bug.cgi?id=634407
Seems pretty obvious that we should be using %03u instead of %u for the stream number. Will push fixes.
Fixes pushed for everything but gst-libav.
Pushed gst-libav.
I agree this makes sense. However, decodebin never reliably exposed pads in the order they are in the file, the order in which pads were exposed often depended on whichever multiqueue thread was the fastest.