[vlc-commits] demux: ts: update PCR for selected scrambled programs

Francois Cartegnie git at videolan.org
Thu Aug 6 21:07:32 CEST 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Aug  6 21:05:17 2015 +0200| [d713262c524e84b2f470fdefcc444e5a76e3cc97] | committer: Francois Cartegnie

demux: ts: update PCR for selected scrambled programs

Otherwise, it demuxes at max speed without allowing
user to change program

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

 modules/demux/mpeg/ts.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c
index 9f3af4a..90e4637 100644
--- a/modules/demux/mpeg/ts.c
+++ b/modules/demux/mpeg/ts.c
@@ -1271,6 +1271,7 @@ static int Demux( demux_t *p_demux )
 
         if ( SCRAMBLED(*p_pid) && !p_demux->p_sys->csa )
         {
+            PCRHandle( p_demux, p_pid, p_pkt );
             block_Release( p_pkt );
             continue;
         }



More information about the vlc-commits mailing list