mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 01:42:20 +00:00
vaapi_encode_h26[45]: Make the AUD option a boolean
This commit is contained in:
parent
4cc367bf9d
commit
91534786fa
@ -976,7 +976,7 @@ static const AVOption vaapi_encode_h264_options[] = {
|
||||
{ "ac", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = 1 }, INT_MIN, INT_MAX, FLAGS, "coder" },
|
||||
|
||||
{ "aud", "Include AUD",
|
||||
OFFSET(aud), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, FLAGS },
|
||||
OFFSET(aud), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, FLAGS },
|
||||
|
||||
{ "sei", "Set SEI to include",
|
||||
OFFSET(sei), AV_OPT_TYPE_FLAGS,
|
||||
|
@ -1093,7 +1093,7 @@ static const AVOption vaapi_encode_h265_options[] = {
|
||||
OFFSET(qp), AV_OPT_TYPE_INT, { .i64 = 25 }, 0, 52, FLAGS },
|
||||
|
||||
{ "aud", "Include AUD",
|
||||
OFFSET(aud), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, FLAGS },
|
||||
OFFSET(aud), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, FLAGS },
|
||||
|
||||
{ "profile", "Set profile (general_profile_idc)",
|
||||
OFFSET(profile), AV_OPT_TYPE_INT,
|
||||
|
Loading…
Reference in New Issue
Block a user