[SCM] libav/experimental: export top_field_first & interlaced_frame

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:38:31 UTC 2013


The following commit has been merged in the experimental branch:
commit c70f1716cfb86c97ef0ff2e8ec49dcb89f5daaa4
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Fri Dec 5 00:19:46 2003 +0000

    export top_field_first & interlaced_frame
    
    Originally committed as revision 2564 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 5aec28d..ef682e4 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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list