mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2025-02-25 07:22:59 +00:00
libx264: fix open GOP
Found-by: relaxed Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7133d25425
commit
5fe808578c
@ -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_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;
|
x4->params.i_slice_count = avctx->slices;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user