[vlc-commits] demux: asf: use VLC_TS_0 in debug

Francois Cartegnie git at videolan.org
Thu May 15 20:39:33 CEST 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu May 15 20:09:21 2014 +0200| [a3bdf53bf4283f3b7b26ee2beca592a08441398a] | committer: Francois Cartegnie

demux: asf: use VLC_TS_0 in debug

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

 modules/demux/asf/asf.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/asf/asf.c b/modules/demux/asf/asf.c
index bf00d87..6032fca 100644
--- a/modules/demux/asf/asf.c
+++ b/modules/demux/asf/asf.c
@@ -242,9 +242,9 @@ static int Demux( demux_t *p_demux )
     if( p_sys->i_time >= 0 )
     {
 #ifdef ASF_DEBUG
-        msg_Dbg( p_demux, "Setting PCR to %"PRId64, p_sys->i_time );
+        msg_Dbg( p_demux, "Demux Loop Setting PCR to %"PRId64, VLC_TS_0 + p_sys->i_time );
 #endif
-        es_out_Control( p_demux->out, ES_OUT_SET_PCR, p_sys->i_time+1 );
+        es_out_Control( p_demux->out, ES_OUT_SET_PCR, VLC_TS_0 + p_sys->i_time );
     }
 
     return 1;



More information about the vlc-commits mailing list