Commit 3d493727 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

MKV: workaround the seeking-to-0 issue on Win32

The faster way to seek does not work on win32, for some reason
Close #6006
parent 2ee3a2b3
......@@ -725,6 +725,7 @@ void matroska_segment_c::Seek( mtime_t i_date, mtime_t i_time_offset, int64_t i_
}
}
#ifdef WIN32
/* Don't try complex seek if we seek to 0 */
if( i_date == 0 )
{
......@@ -738,6 +739,7 @@ void matroska_segment_c::Seek( mtime_t i_date, mtime_t i_time_offset, int64_t i_
sys.i_pts = 0;
return;
}
#endif
if ( i_index > 0 )
{
......
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