dashdemux: Disable bitrate switching in key-unit trick mode
This creates too much havoc for now
diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c
index 05552b3..43d5e39 100644
--- a/ext/dash/gstdashdemux.c
+++ b/ext/dash/gstdashdemux.c
@@ -1556,6 +1556,12 @@
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;