diff mpegvideo.c @ 5798:7b058e5183ab libavcodec

Manage Picture buffers for fields as well as frames. Pair complementary fields into one MPV Picture. Part of PAFF implementation. patch by Jeff Downs, heydowns a borg d com original thread: Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264 Date: 18/09/07 20:30
author andoma
date Mon, 08 Oct 2007 17:44:38 +0000
parents a3a2968e16ad
children 0859108b4ae3
line wrap: on
line diff
--- a/mpegvideo.c	Mon Oct 08 17:39:34 2007 +0000
+++ b/mpegvideo.c	Mon Oct 08 17:44:38 2007 +0000
@@ -954,7 +954,7 @@
 
     assert(s->pict_type == I_TYPE || (s->last_picture_ptr && s->last_picture_ptr->data[0]));
 
-    if(s->picture_structure!=PICT_FRAME){
+    if(s->picture_structure!=PICT_FRAME && s->out_format != FMT_H264){
         int i;
         for(i=0; i<4; i++){
             if(s->picture_structure == PICT_BOTTOM_FIELD){