aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-06-21 04:45:29 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-06-21 04:45:29 +0200
commitd39b33c63bc080231d8d6e79c6301a60b86150de (patch)
tree9d553a261b8a6beff5febecabaf808403df6ab3f
parent90c6963daea9210d7d2104e2ece94dd4e2fffc17 (diff)
downloadffmpeg-d39b33c63bc080231d8d6e79c6301a60b86150de.tar.gz
libx264: fix open gop default.
Please use -x264opts to force open gop This fixes Ticket268 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/libx264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 1b6f55f801..cc5b9837f8 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -377,7 +377,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;