Commit 12d92b96 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: ogg: update seekpoints info on new seekpoint (fix #9333)

parent beefa854
......@@ -573,6 +573,8 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
int64_t i_block = p_sys->pp_seekpoints[i_seekpoint]->i_time_offset * p_sys->i_bitrate / INT64_C(8000000);
if( stream_Seek( p_demux->s, i_block ) )
return VLC_EGENERIC;
p_demux->info.i_update |= INPUT_UPDATE_SEEKPOINT;
p_demux->info.i_seekpoint = i_seekpoint;
return VLC_SUCCESS;
}
......
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