[FFmpeg-cvslog] avcodec/qsvenc_hevc: use AV_OPT_TYPE_BOOL for aud option

Limin Wang git at videolan.org
Mon Dec 27 06:22:26 EET 2021


ffmpeg | branch: master | Limin Wang <lance.lmwang at gmail.com> | Sat Dec 25 11:48:58 2021 +0800| [c2a538926933f4339f7789c47b2e21123be8a37c] | committer: Haihao Xiang

avcodec/qsvenc_hevc: use AV_OPT_TYPE_BOOL for aud option

Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
Signed-off-by: Haihao Xiang <haihao.xiang at intel.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c2a538926933f4339f7789c47b2e21123be8a37c
---

 libavcodec/qsvenc_hevc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 },
 };



More information about the ffmpeg-cvslog mailing list