[vlc-devel] commit: Simplify debug ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Oct 19 11:28:41 CEST 2008


vlc | branch: 0.9-bugfix | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Oct 19 12:25:29 2008 +0300| [703792c784a6572c013148eea81bd2bc8a7ef1bf] | committer: Rémi Denis-Courmont 

Simplify debug
(cherry picked from commit 5a9a53f7f1fa311da08d4ddefff074fa1185ed9d)

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

 modules/demux/ty.c |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/modules/demux/ty.c b/modules/demux/ty.c
index f7d42bc..09172db 100644
--- a/modules/demux/ty.c
+++ b/modules/demux/ty.c
@@ -1666,11 +1666,13 @@ static void parse_master(demux_t *p_demux)
     p_sys->b_have_master = true;
 
     i_pts_secs = p_sys->l_first_ty_pts / 1000000000;
-    msg_Dbg( p_demux, "first TY pts in master is %02d:%02d:%02d",
-             (int)(i_pts_secs / 3600), (int)((i_pts_secs / 60) % 60), (int)(i_pts_secs % 60) );
+    msg_Dbg( p_demux,
+             "first TY pts in master is %02"PRId64":%02"PRId64":%02"PRId64,
+             i_pts_secs / 3600, (i_pts_secs / 60) % 60, i_pts_secs % 60 );
     i_pts_secs = p_sys->l_final_ty_pts / 1000000000;
-    msg_Dbg( p_demux, "final TY pts in master is %02d:%02d:%02d",
-             (int)(i_pts_secs / 3600), (int)((i_pts_secs / 60) % 60), (int)(i_pts_secs % 60) );
+    msg_Dbg( p_demux,
+             "final TY pts in master is %02"PRId64":%02"PRId64":%02"PRId64,
+             i_pts_secs / 3600, (i_pts_secs / 60) % 60, i_pts_secs % 60 );
 
     /* seek past this chunk */
     stream_Seek(p_demux->s, i_save_pos + CHUNK_SIZE);




More information about the vlc-devel mailing list