Commit 6fe88d48 authored by François Cartegnie's avatar François Cartegnie 🤞

demux: subs: fix incorrect control() param

parent 66423916
......@@ -138,7 +138,7 @@ static int Control(demux_t *demux, int query, va_list args)
if(sys->count && sys->index[sys->count-1].stop > 0)
{
int64_t i64 = f * sys->index[sys->count-1].stop;
return Control(demux, DEMUX_SET_TIME, i64);
return demux_Control(demux, DEMUX_SET_TIME, i64);
}
break;
}
......
......@@ -696,7 +696,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
if( p_sys->subtitles.i_count && p_sys->i_length )
{
i64 = VLC_TS_0 + f * p_sys->i_length;
return Control( p_demux, DEMUX_SET_TIME, i64 );
return demux_Control( p_demux, DEMUX_SET_TIME, i64 );
}
break;
......
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