diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2021-12-25 11:48:58 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2021-12-27 11:36:15 +0800 |
commit | c2a538926933f4339f7789c47b2e21123be8a37c (patch) | |
tree | 3382d7034fe7e96288d03a4b9fe162c79407ce69 | |
parent | db901276c0ae4799a0d2c8f81f09497dd66b4ed7 (diff) | |
download | ffmpeg-c2a538926933f4339f7789c47b2e21123be8a37c.tar.gz |
avcodec/qsvenc_hevc: use AV_OPT_TYPE_BOOL for aud option
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
-rw-r--r-- | libavcodec/qsvenc_hevc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qsvenc_hevc.c b/libavcodec/qsvenc_hevc.c index 5847ea21f7..08aba3011d 100644 --- a/libavcodec/qsvenc_hevc.c +++ b/libavcodec/qsvenc_hevc.c @@ -250,7 +250,7 @@ static const AVOption options[] = { { "tile_cols", "Number of columns for tiled encoding", OFFSET(qsv.tile_cols), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, UINT16_MAX, VE }, { "tile_rows", "Number of rows for tiled encoding", OFFSET(qsv.tile_rows), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, UINT16_MAX, VE }, { "recovery_point_sei", "Insert recovery point SEI messages", OFFSET(qsv.recovery_point_sei), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 1, VE }, - { "aud", "Insert the Access Unit Delimiter NAL", OFFSET(qsv.aud), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, VE}, + { "aud", "Insert the Access Unit Delimiter NAL", OFFSET(qsv.aud), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VE}, { NULL }, }; |