mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 13:08:49 +00:00
hlsdemux: Do not switch playlist on trick modes
Instead always use the low bandwith playlist making things go smoother as the current heuristic is rather set for normal playback, and currently it does not behave properly. https://bugzilla.gnome.org/show_bug.cgi?id=734445
This commit is contained in:
parent
123953d429
commit
16201cec34
1 changed files with 5 additions and 1 deletions
|
@ -1252,7 +1252,11 @@ gst_hls_demux_stream_loop (GstHLSDemux * demux)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* try to switch to another bitrate if needed */
|
/* try to switch to another bitrate if needed */
|
||||||
gst_hls_demux_switch_playlist (demux);
|
/* FIXME: Currently several issues have be found when letting bitrate adaptation
|
||||||
|
* happen using trick modes (such as 'All streams finished without buffers') and
|
||||||
|
* the adaptive algorithm does not properly behave. */
|
||||||
|
if (demux->segment.rate == 1.0)
|
||||||
|
gst_hls_demux_switch_playlist (demux);
|
||||||
demux->download_total_bytes = 0;
|
demux->download_total_bytes = 0;
|
||||||
demux->download_total_time = 0;
|
demux->download_total_time = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue