summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-12-05 00:19:46 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-12-05 00:19:46 +0000
commitc70f1716cfb86c97ef0ff2e8ec49dcb89f5daaa4 (patch)
treec660a6fd46a841f6aba75f7fead05ab1c43e4293 /libavcodec
parentac49f3eface6cdbaf86171944c8e2f5c7ec0aa84 (diff)
export top_field_first & interlaced_frame
Originally committed as revision 2564 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpegvideo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 5aec28dc1c..ef682e4838 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -1151,6 +1151,8 @@ alloc:
return -1;
s->current_picture_ptr= (Picture*)pic;
+ s->current_picture_ptr->top_field_first= s->top_field_first; //FIXME use only the vars from current_pic
+ s->current_picture_ptr->interlaced_frame= !s->progressive_frame;
}
s->current_picture_ptr->pict_type= s->pict_type;