Revision 8ed2ae09 libavcodec/h261dec.c
libavcodec/h261dec.c | ||
---|---|---|
595 | 595 |
goto retry; |
596 | 596 |
} |
597 | 597 |
|
598 |
// for hurry_up==5
|
|
598 |
// for skipping the frame
|
|
599 | 599 |
s->current_picture.pict_type= s->pict_type; |
600 | 600 |
s->current_picture.key_frame= s->pict_type == FF_I_TYPE; |
601 | 601 |
|
602 |
#if FF_API_HURRY_UP |
|
602 | 603 |
/* skip everything if we are in a hurry>=5 */ |
603 | 604 |
if(avctx->hurry_up>=5) return get_consumed_bytes(s, buf_size); |
605 |
#endif |
|
604 | 606 |
if( (avctx->skip_frame >= AVDISCARD_NONREF && s->pict_type==FF_B_TYPE) |
605 | 607 |
||(avctx->skip_frame >= AVDISCARD_NONKEY && s->pict_type!=FF_I_TYPE) |
606 | 608 |
|| avctx->skip_frame >= AVDISCARD_ALL) |
Also available in: Unified diff