]> git.sesse.net Git - vlc/commitdiff
Reset PCR when gap has been detected.
authorJean-Paul Saman <jpsaman@videolan.org>
Mon, 1 Oct 2007 17:35:35 +0000 (17:35 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Mon, 1 Oct 2007 17:35:35 +0000 (17:35 +0000)
modules/demux/live555.cpp

index 2ff3fd944d92b277237ef6962d16031c4df9c1bc..7e62c2c056d01e1c8742a535b1f89de5eb200ae5 100644 (file)
@@ -1041,12 +1041,10 @@ static int Demux( demux_t *p_demux )
 
             es_out_Control( p_demux->out, ES_OUT_RESET_PCR );
             tk->b_rtcp_sync = VLC_TRUE;
-#if 0
             /* reset PCR */
             tk->i_pts = 0;
             p_sys->i_pcr = 0;
             i_pcr = 0;
-#endif
         }
     }