[vlc-commits] demux: adaptive: propagate flags when using MimeDemux
Francois Cartegnie
git at videolan.org
Wed Oct 23 16:32:58 CEST 2019
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Oct 23 16:11:00 2019 +0200| [1fb29490a4c969f311aac20ab2c338f1fff34b10] | committer: Francois Cartegnie
demux: adaptive: propagate flags when using MimeDemux
temp, the whole thing will be gone with adaptive rework
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1fb29490a4c969f311aac20ab2c338f1fff34b10
---
modules/demux/adaptive/plumbing/Demuxer.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/modules/demux/adaptive/plumbing/Demuxer.cpp b/modules/demux/adaptive/plumbing/Demuxer.cpp
index e7f93f704f..69776bfbb8 100644
--- a/modules/demux/adaptive/plumbing/Demuxer.cpp
+++ b/modules/demux/adaptive/plumbing/Demuxer.cpp
@@ -124,6 +124,11 @@ bool MimeDemuxer::create()
if(!demuxer || !demuxer->create())
return false;
+ b_startsfromzero = demuxer->alwaysStartsFromZero();
+ b_reinitsonseek = demuxer->needsRestartOnSeek();
+ b_alwaysrestarts = demuxer->needsRestartOnEachSegment();
+ b_candetectswitches = demuxer->bitstreamSwitchCompatible();
+
return true;
}
More information about the vlc-commits
mailing list