mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-09-11 09:57:54 +02:00
libx264: fix open gop default.
Please use -x264opts to force open gop This fixes Ticket268 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
90c6963dae
commit
d39b33c63b
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user