adaptivedemux: Enable bitrate selection for trick mode streaming again
authorSebastian Dröge <sebastian@centricular.com>
Thu, 25 Aug 2016 16:35:13 +0000 (19:35 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 25 Aug 2016 16:52:37 +0000 (19:52 +0300)
commit4f6ae1f48c2a139faf07958b9e2232da8dde1b83
treece18fe51672422c11fd4a578cd4b02223a3e8567
parent2702d98d6bfb12d96ffcfc7521e575dbbbf235a5
adaptivedemux: Enable bitrate selection for trick mode streaming again

And scale the bitrate with the absolute rate (if it's bigger than 1.0) to get
to the real bitrate due to faster playback.

This allowed in my tests to play a stream with 10x speed without buffering as
the lowest bitrate is chosen, instead of staying/selecting the highest bitrate
and then buffering all the time.

It was previously disabled for not very well specified reasons, which seem to
be not valid anymore nowadays.
ext/dash/gstdashdemux.c
ext/hls/gsthlsdemux.c
ext/smoothstreaming/gstmssdemux.c
gst-libs/gst/adaptivedemux/gstadaptivedemux.c