[FFmpeg-cvslog] r10703 - trunk/libavcodec/h264.c
cehoyos
subversion
Wed Oct 10 22:31:43 CEST 2007
Author: cehoyos
Date: Wed Oct 10 22:31:42 2007
New Revision: 10703
Log:
Set pict->interlaced_frame if returned frame is MBAFF or PAFF.
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c (original)
+++ trunk/libavcodec/h264.c Wed Oct 10 22:31:42 2007
@@ -7843,6 +7843,7 @@ static int decode_frame(AVCodecContext *
/* we substract 1 because it is added on utils.c */
avctx->frame_number = s->picture_number - 1;
#endif
+ pict->interlaced_frame = FIELD_OR_MBAFF_PICTURE;
return get_consumed_bytes(s, buf_index, buf_size);
}
#if 0
More information about the ffmpeg-cvslog
mailing list