[vlc-commits] demux: adaptative: reset PCR when switching output

Francois Cartegnie git at videolan.org
Tue Sep 22 00:38:52 CEST 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Sep 21 22:01:54 2015 +0200| [5842120fe20677013bc6b80a6d1ce90b5b443c64] | committer: Francois Cartegnie

demux: adaptative: reset PCR when switching output

Otherwise the timeshift waits timeoffset

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

 modules/demux/adaptative/plumbing/FakeESOut.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/adaptative/plumbing/FakeESOut.cpp b/modules/demux/adaptative/plumbing/FakeESOut.cpp
index 7c0a20b..d5641e6 100644
--- a/modules/demux/adaptative/plumbing/FakeESOut.cpp
+++ b/modules/demux/adaptative/plumbing/FakeESOut.cpp
@@ -140,6 +140,7 @@ void FakeESOut::gc()
         return;
 
     vlc_mutex_lock( &lock );
+    es_out_Control( real_es_out, ES_OUT_RESET_PCR );
     std::list<FakeESOutID *>::iterator it;
     for( it=recycle_candidates.begin(); it!=recycle_candidates.end(); ++it )
     {



More information about the vlc-commits mailing list