[vlc-commits] demux: asf: add TS_0 to debug info

Francois Cartegnie git at videolan.org
Fri May 16 21:06:33 CEST 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri May 16 17:08:47 2014 +0200| [e364ed3b8e86a5e432295d1f2fd6605a7814528f] | committer: Francois Cartegnie

demux: asf: add TS_0 to debug info

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

 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 41d9511..e7b0805 100644
--- a/modules/demux/asf/asf.c
+++ b/modules/demux/asf/asf.c
@@ -592,9 +592,9 @@ static void SendPacket(demux_t *p_demux, asf_track_t *tk)
     if( p_sys->i_time < VLC_TS_0 && tk->i_time > VLC_TS_INVALID )
     {
         p_sys->i_time = tk->i_time;
-        es_out_Control( p_demux->out, ES_OUT_SET_PCR, p_sys->i_time );
+        es_out_Control( p_demux->out, ES_OUT_SET_PCR, VLC_TS_0 + p_sys->i_time );
 #ifdef ASF_DEBUG
-        msg_Dbg( p_demux, "    setting PCR to %"PRId64, p_sys->i_time );
+        msg_Dbg( p_demux, "    setting PCR to %"PRId64, VLC_TS_0 + p_sys->i_time );
 #endif
     }
 



More information about the vlc-commits mailing list