diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2017-10-13 23:22:13 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2017-10-14 19:22:58 +0000 |
commit | 077011b5af2b3150efc52a9b58f5ef9bb0235087 (patch) | |
tree | 40046f5a7f8e58ecf745c5d864ae68e7b533031c | |
parent | 762ab2de6ead68cfe6617d1960921878ddece9e1 (diff) | |
download | ffmpeg-077011b5af2b3150efc52a9b58f5ef9bb0235087.tar.gz |
qsv: Expose idr_interval for hevc as well
-rw-r--r-- | libavcodec/qsvenc_hevc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/qsvenc_hevc.c b/libavcodec/qsvenc_hevc.c index efed4d98f4..fb65d58c32 100644 --- a/libavcodec/qsvenc_hevc.c +++ b/libavcodec/qsvenc_hevc.c @@ -220,6 +220,7 @@ static av_cold int qsv_enc_close(AVCodecContext *avctx) static const AVOption options[] = { QSV_COMMON_OPTS + { "idr_interval", "Distance (in I-frames) between IDR frames", OFFSET(qsv.idr_interval), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, VE }, { "load_plugin", "A user plugin to load in an internal session", OFFSET(load_plugin), AV_OPT_TYPE_INT, { .i64 = LOAD_PLUGIN_DEFAULT }, LOAD_PLUGIN_NONE, LOAD_PLUGIN_HEVC_HW, VE, "load_plugin" }, { "none", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = LOAD_PLUGIN_NONE }, 0, 0, VE, "load_plugin" }, { "hevc_sw", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = LOAD_PLUGIN_HEVC_SW }, 0, 0, VE, "load_plugin" }, |