projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f400c1
)
dashdemux: Disable bitrate switching in key-unit trick mode
author
Edward Hervey
<edward@centricular.com>
Mon, 7 Nov 2016 11:22:09 +0000
(12:22 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Thu, 18 May 2017 17:04:57 +0000
(19:04 +0200)
This creates too much havoc for now
ext/dash/gstdashdemux.c
patch
|
blob
|
history
diff --git
a/ext/dash/gstdashdemux.c
b/ext/dash/gstdashdemux.c
index
05552b3
..
43d5e39
100644
(file)
--- a/
ext/dash/gstdashdemux.c
+++ b/
ext/dash/gstdashdemux.c
@@
-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;