* - for sout it is useless
* - for subs, it is done by the vout
*/
- if( p_dec->fmt_out.i_cat == AUDIO_ES )
+ if( p_owner->fmt.i_cat == AUDIO_ES )
{
if( p_owner->p_aout )
aout_DecChangePause( p_owner->p_aout, b_paused, i_date );
}
- else if( p_dec->fmt_out.i_cat == VIDEO_ES )
+ else if( p_owner->fmt.i_cat == VIDEO_ES )
{
if( p_owner->p_vout )
vout_ChangePause( p_owner->p_vout, b_paused, i_date );