Browse Source

lavc/libxavs2: enable OpenGop

Signed-off-by: hwren <hwrenx@126.com>
tags/n4.1
hwren Jun Zhao 7 years ago
parent
commit
c00ed8d0e7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/libxavs2.c

+ 1
- 1
libavcodec/libxavs2.c View File

@@ -91,7 +91,7 @@ static av_cold int xavs2_init(AVCodecContext *avctx)
xavs2_opt_set2("ThreadFrames", "%d", avctx->thread_count);
xavs2_opt_set2("ThreadRows", "%d", cae->lcu_row_threads);

xavs2_opt_set2("OpenGOP", "%d", 1);
xavs2_opt_set2("OpenGOP", "%d", !(avctx->flags & AV_CODEC_FLAG_CLOSED_GOP));

if (cae->xavs2_opts) {
AVDictionary *dict = NULL;


Loading…
Cancel
Save