Commit b5bca4e9 authored by gbazin's avatar gbazin

* src/input/input.c: don't use input_EsOutDiscontinuity() on pause for now...

* src/input/input.c: don't use input_EsOutDiscontinuity() on pause for now since this isn't properly supported by decoders yet and can thus corrupt the decoded stream.
parent 2d2d6180
......@@ -1609,9 +1609,11 @@ static vlc_bool_t Control( input_thread_t *p_input, int i_type,
p_input->i_state = val.i_int;
var_Change( p_input, "state", VLC_VAR_SETVALUE, &val, NULL );
#if 0 /* This will need modifications to decoders to work properly. */
/* Send discontinuity to decoders (it will allow them to flush
* if implemented */
input_EsOutDiscontinuity( p_input->p->p_es_out, VLC_FALSE );
#endif
}
else if( val.i_int == PAUSE_S && !p_input->p->b_can_pause )
{
......
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