Commit c7ff5cc9 authored by Filip Roséen's avatar Filip Roséen Committed by 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's avatarJean-Baptiste Kempf <jb@videolan.org>
parent d3f83dc8
......@@ -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!" );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment