p_sys->i_previous_pts = 0;
p_sys->i_current_dts = 0;
p_sys->i_previous_dts = 0;
+ p_sys->i_aspect = 0;
p_sys->b_garbage_pic = false;
p_sys->b_slice_i = false;
p_sys->b_second_field = false;
static void GetAR( decoder_t *p_dec )
{
decoder_sys_t *p_sys = p_dec->p_sys;
+ int i_old_aspect = p_sys->i_aspect;
/* Check whether the input gave a particular aspect ratio */
if( p_dec->fmt_in.video.i_aspect )
}
}
+ if( p_sys->i_aspect == i_old_aspect )
+ return;
+
if( p_sys->p_info->sequence->frame_period > 0 )
msg_Dbg( p_dec,
"%dx%d (display %d,%d), aspect %d, sar %i:%i, %u.%03u fps",