decodebin2: Correctly negotiate format for parsers that can convert different stream...
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 26 Jun 2011 13:40:17 +0000 (15:40 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 6 Sep 2011 11:16:44 +0000 (13:16 +0200)
commit20f9d0bec50e5abf0f4718d4b2973214e0d6f979
tree28b06d01edadaeb6ba8ac4a1b0144ac7230cfab4
parent1df9fa9ee8a1346432ba18c880a018cdfbcd2fe4
decodebin2: Correctly negotiate format for parsers that can convert different stream formats

This is done by adding a capsfilter after every parser/converter that contains
all possible caps supported by downstream elements. A capsfilter is necessary
here because the decoder is only selected after the parser selected a format
and the parser can't know what downstream would support otherwise.
gst/playback/gstdecodebin2.c