Browse Source

10l (scene change pict_type was wrong after coded_frame fix) patch by (Loren Merritt <lorenm at u dot washington dot edu>)

Originally committed as revision 3471 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Loren Merritt Michael Niedermayer 21 years ago
parent
commit
1140139fe2
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/mpegvideo.c

+ 2
- 0
libavcodec/mpegvideo.c View File

@@ -4845,7 +4845,9 @@ static void encode_picture(MpegEncContext *s, int picture_number)
}
//FIXME var duplication
s->current_picture_ptr->key_frame=
s->current_picture.key_frame= s->pict_type == I_TYPE; //FIXME pic_ptr
s->current_picture_ptr->pict_type=
s->current_picture.pict_type= s->pict_type;

if(s->current_picture.key_frame)


Loading…
Cancel
Save