mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 02:20:07 +01:00
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 Originally committed as revision 10691 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -954,7 +954,7 @@ alloc:
|
||||
|
||||
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){
|
||||
|
||||
Reference in New Issue
Block a user