Commit 4c2b909c authored by Thomas Guillem's avatar Thomas Guillem

es_out: RESTART_ALL_ES: restart only selected es

parent 2fa9ea9b
......@@ -2380,8 +2380,11 @@ static int EsOutControlLocked( es_out_t *out, int i_query, va_list args )
{
for( int i = 0; i < p_sys->i_es; i++ )
{
EsDestroyDecoder( out, p_sys->es[i] );
EsCreateDecoder( out, p_sys->es[i] );
if( EsIsSelected( p_sys->es[i] ) )
{
EsDestroyDecoder( out, p_sys->es[i] );
EsCreateDecoder( out, p_sys->es[i] );
}
}
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