decodebin: For adaptive streaming, ensure to put the buffering multiqueue after a...
authorSebastian Dröge <sebastian@centricular.com>
Thu, 15 Dec 2016 14:29:02 +0000 (16:29 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 15 Dec 2016 14:31:20 +0000 (16:31 +0200)
commit991758c3d68a0a7131df4e6244fe3ce29f2b9f7f
tree49abb5672d5c6d92e45d55c72ddbde97788a440c
parent4dd7a25d2d78569c6a9d4415b4dc78f2a8542222
decodebin: For adaptive streaming, ensure to put the buffering multiqueue after a parser or demuxer

There are cases when there is no demuxer involved that could do the
buffering, e.g. HLS with raw MP3 or AAC. In this case we want to place
the buffering multiqueue after the parser.

Before this change, we've considered the first element after the
adaptive streaming demuxer as a parser. This is not always true, e.g.
id3demux. Instead we now wait until we actually have a parser (or
decoder).

Fixes playback on such HLS streams.
gst/playback/gstdecodebin2.c