Commit 3b054a1c authored by Laurent Aimar's avatar Laurent Aimar

Fixed skip_frame setting (avcodec).

parent aaf888a6
...@@ -500,8 +500,9 @@ picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block ) ...@@ -500,8 +500,9 @@ picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block )
} }
else if( !b_drawpicture ) else if( !b_drawpicture )
{ {
p_sys->p_context->skip_frame = __MAX( p_sys->p_context->skip_frame, if( p_sys->b_hurry_up )
AVDISCARD_NONREF ); p_sys->p_context->skip_frame = __MAX( p_sys->p_context->skip_frame,
AVDISCARD_NONREF );
} }
/* /*
......
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