]> git.sesse.net Git - ffmpeg/commitdiff
libx264: fix open GOP
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Sep 2012 22:32:50 +0000 (00:32 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Sep 2012 23:56:01 +0000 (01:56 +0200)
Found-by: relaxed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/libx264.c

index d012c92a482b11f63e862953784e174d9de3be73..a2d64d1977a892d928d1e33b6c2d582ff1d324da 100644 (file)
@@ -513,7 +513,7 @@ static av_cold int X264_init(AVCodecContext *avctx)
 
     x4->params.b_interlaced   = avctx->flags & CODEC_FLAG_INTERLACED_DCT;
 
-//    x4->params.b_open_gop     = !(avctx->flags & CODEC_FLAG_CLOSED_GOP);
+    x4->params.b_open_gop     = !(avctx->flags & CODEC_FLAG_CLOSED_GOP);
 
     x4->params.i_slice_count  = avctx->slices;