mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
dashdemux: Disable bitrate switching in key-unit trick mode
This creates too much havoc for now
This commit is contained in:
parent
8f400c1343
commit
d8d1fc8bc4
1 changed files with 6 additions and 0 deletions
|
@ -1556,6 +1556,12 @@ gst_dash_demux_stream_select_bitrate (GstAdaptiveDemuxStream * stream,
|
|||
goto end;
|
||||
}
|
||||
|
||||
/* In key-frame trick mode don't change bitrates */
|
||||
if (GST_ADAPTIVE_DEMUX_IN_TRICKMODE_KEY_UNITS (demux)) {
|
||||
GST_DEBUG_OBJECT (demux, "In key-frame trick mode, not changing bitrates");
|
||||
goto end;
|
||||
}
|
||||
|
||||
/* retrieve representation list */
|
||||
if (active_stream->cur_adapt_set)
|
||||
rep_list = active_stream->cur_adapt_set->Representations;
|
||||
|
|
Loading…
Reference in a new issue