[FFmpeg-cvslog] libx264: fix open gop default.

Michael Niedermayer git at videolan.org
Tue Jun 21 05:08:24 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jun 21 04:45:29 2011 +0200| [d39b33c63bc080231d8d6e79c6301a60b86150de] | committer: Michael Niedermayer

libx264: fix open gop default.
Please use -x264opts to force open gop
This fixes Ticket268

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d39b33c63bc080231d8d6e79c6301a60b86150de
---

 libavcodec/libx264.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 1b6f55f..cc5b983 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;
 



More information about the ffmpeg-cvslog mailing list