Commit eb0bd91b authored by Steve Lhomme's avatar Steve Lhomme
Browse files

mkv.cpp: update the seekpoint location after a manual seek

parent c7418f15
......@@ -1579,6 +1579,8 @@ static void Seek( demux_t *p_demux, mtime_t i_date, double f_percent, const chap
{
p_sys->psz_current_chapter = psz_chapter;
p_sys->i_chapter_time = i_time_offset = psz_chapter->i_user_start_time - psz_chapter->i_start_time;
p_demux->info.i_update |= INPUT_UPDATE_SEEKPOINT;
p_demux->info.i_seekpoint = psz_chapter->i_seekpoint_num - 1;
}
for( ; i_index < p_sys->i_index; i_index++ )
......
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