b_drawpicture = 0;
if( p_sys->i_late_frames < 8 )
{
- p_sys->p_context->skip_frame =
- (p_sys->i_skip_frame <= AVDISCARD_BIDIR) ?
- AVDISCARD_BIDIR : p_sys->i_skip_frame;
+ p_sys->p_context->skip_frame = AVDISCARD_NONKEY;
}
else
{
/* picture too late, won't decode
* but break picture until a new I, and for mpeg4 ...*/
- p_sys->p_context->skip_frame = AVDISCARD_NONKEY;
p_sys->i_late_frames--; /* needed else it will never be decrease */
block_Release( p_block );
p_sys->i_buffer = 0;