You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
Provide top_field_first logic for h264
patch by: Reinhard Nissl rnissl a gmx d de Originally committed as revision 10989 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Andreas Öman
parent
671028e074
commit
ce5d17f590
@@ -7767,6 +7767,8 @@ static int decode_frame(AVCodecContext *avctx,
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
cur->interlaced_frame = FIELD_OR_MBAFF_PICTURE;
|
cur->interlaced_frame = FIELD_OR_MBAFF_PICTURE;
|
||||||
|
/* Derive top_field_first from field pocs. */
|
||||||
|
cur->top_field_first = cur->field_poc[0] < cur->field_poc[1];
|
||||||
|
|
||||||
//FIXME do something with unavailable reference frames
|
//FIXME do something with unavailable reference frames
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user