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 2ff3fd9..7e62c2c 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
         }
     }