changeset 1658:d4637a0eaab1 libavcodec

export top_field_first & interlaced_frame
author michael
date Fri, 05 Dec 2003 00:19:46 +0000
parents aaaa1767acc2
children 3075fc11a974
files mpegvideo.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo.c	Thu Dec 04 19:15:37 2003 +0000
+++ b/mpegvideo.c	Fri Dec 05 00:19:46 2003 +0000
@@ -1151,6 +1151,8 @@
             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;