vlc | branch: master | Filip Roséen <[email protected]> | Fri Mar 4 17:04:19 2016 +0100| [c7ff5cc9555f68863c87ba50b396d620af142eab] | committer: Jean-Baptiste Kempf
mkv: fixed seek request diagnostic The diagnostic's intention was to print where we are going to seek in procent, though the actual output was previously in the range [0.0, 1.0]. Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c7ff5cc9555f68863c87ba50b396d620af142eab --- modules/demux/mkv/mkv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/demux/mkv/mkv.cpp b/modules/demux/mkv/mkv.cpp index 802e220..fa8c59a 100644 --- a/modules/demux/mkv/mkv.cpp +++ b/modules/demux/mkv/mkv.cpp @@ -441,7 +441,7 @@ static void Seek( demux_t *p_demux, mtime_t i_mk_date, double f_percent, virtual matroska_segment_c *p_segment = p_vsegment->CurrentSegment(); int64_t i_global_position = -1; - msg_Dbg( p_demux, "seek request to %" PRId64 " (%f%%)", i_mk_date, f_percent ); + msg_Dbg( p_demux, "seek request to %" PRId64 " (%.2f%%)", i_mk_date, f_percent * 100); if( i_mk_date < 0 && f_percent < 0 ) { msg_Warn( p_demux, "cannot seek nowhere!" ); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
