vlc | branch: master | Steve Lhomme <[email protected]> | Fri Jun  8 14:21:58 
2018 +0200| [90fc6e4453439c52859489672b86687727a2ca7e] | committer: Steve Lhomme

demux:mp4: use MS_FROM_VLC_TICK to log milliseconds

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

 modules/demux/mp4/mp4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 3d445a6e4f..fb4a2e6d9f 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -1527,7 +1527,7 @@ static int Seek( demux_t *p_demux, vlc_tick_t i_date, 
bool b_accurate )
         }
     }
 
-    msg_Dbg( p_demux, "seeking with %"PRId64 "ms %s", (i_date - i_start) / 
1000,
+    msg_Dbg( p_demux, "seeking with %"PRId64 "ms %s", MS_FROM_VLC_TICK(i_date 
- i_start),
             !b_accurate ? "alignment" : "preroll (use input-fast-seek to 
avoid)" );
 
     for( i_track = 0; i_track < p_sys->i_tracks; i_track++ )

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to