Skip to content

Commit

Permalink
avcodec/qsvenc_hevc: use AV_OPT_TYPE_BOOL for aud option
Browse files Browse the repository at this point in the history
Signed-off-by: Limin Wang <[email protected]>
Signed-off-by: Haihao Xiang <[email protected]>
  • Loading branch information
lance-lmwang authored and xhaihao committed Dec 27, 2021
1 parent db90127 commit c2a5389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavcodec/qsvenc_hevc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
};
Expand Down

0 comments on commit c2a5389

Please sign in to comment.