assert( !p_owner->b_waiting );
- input_DecoderFlush( p_dec );
-
vlc_mutex_lock( &p_owner->lock );
p_owner->b_first = true;
p_owner->b_has_data = false;
{
es_out_id_t *p_es = p_sys->es[i];
- if( !p_es->p_dec )
- continue;
-
- input_DecoderStartWait( p_es->p_dec );
-
- if( p_es->p_dec_record )
- input_DecoderStartWait( p_es->p_dec_record );
+ if( p_es->p_dec != NULL )
+ {
+ input_DecoderFlush( p_es->p_dec );
+ if( !p_sys->b_buffering )
+ {
+ input_DecoderStartWait( p_es->p_dec );
+ if( p_es->p_dec_record != NULL )
+ input_DecoderStartWait( p_es->p_dec_record );
+ }
+ }
}
for( int i = 0; i < p_sys->i_pgrm; i++ )