[vlc-commits] demux: adaptive: always restart mp4

Francois Cartegnie git at videolan.org
Mon Feb 6 20:08:06 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Feb  6 15:13:17 2017 +0100| [1f14c293701f6cc6781e8f212e45168c747b43f4] | committer: Francois Cartegnie

demux: adaptive: always restart mp4

so we can drop old restart code in demux

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1f14c293701f6cc6781e8f212e45168c747b43f4
---

 modules/demux/adaptive/plumbing/Demuxer.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/adaptive/plumbing/Demuxer.cpp b/modules/demux/adaptive/plumbing/Demuxer.cpp
index 66f339f..bd8db3b 100644
--- a/modules/demux/adaptive/plumbing/Demuxer.cpp
+++ b/modules/demux/adaptive/plumbing/Demuxer.cpp
@@ -76,6 +76,7 @@ Demuxer::Demuxer(demux_t *p_realdemux_, const std::string &name_, es_out_t *out,
 
     if(name == "mp4")
     {
+        b_candetectswitches = false;
         b_startsfromzero = true;
     }
 }



More information about the vlc-commits mailing list