changeset 5806:62fc35411cb1 libavcodec

Set pict->interlaced_frame if returned frame is MBAFF or PAFF.
author cehoyos
date Wed, 10 Oct 2007 20:31:42 +0000
parents 12b1717f80a3
children 34fac02fbc4b
files h264.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Tue Oct 09 17:45:34 2007 +0000
+++ b/h264.c	Wed Oct 10 20:31:42 2007 +0000
@@ -7843,6 +7843,7 @@
     /* 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