[vlc-commits] demux: adaptive: restart on packed audio switch

Francois Cartegnie git at videolan.org
Fri Dec 15 16:42:44 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Dec 15 16:41:05 2017 +0100| [062ce759ce939ab70ed7575ee77946dfd4eea705] | committer: Francois Cartegnie

demux: adaptive: restart on packed audio switch

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

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

diff --git a/modules/demux/adaptive/plumbing/Demuxer.cpp b/modules/demux/adaptive/plumbing/Demuxer.cpp
index f6728e016b..5eca5df527 100644
--- a/modules/demux/adaptive/plumbing/Demuxer.cpp
+++ b/modules/demux/adaptive/plumbing/Demuxer.cpp
@@ -90,6 +90,10 @@ Demuxer::Demuxer(demux_t *p_realdemux_, const std::string &name_, es_out_t *out,
         b_candetectswitches = false;
         b_startsfromzero = true;
     }
+    else if(name == "aac")
+    {
+        b_candetectswitches = false;
+    }
 }
 
 Demuxer::~Demuxer()



More information about the vlc-commits mailing list