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

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


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

demux: adaptive: restart on packed audio switch

(cherry picked from commit 062ce759ce939ab70ed7575ee77946dfd4eea705)

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

 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