vaapi_encode_h26[45]: Make the AUD option a boolean

This commit is contained in:
Mark Thompson
2018-09-18 23:30:50 +01:00
parent 4cc367bf9d
commit 91534786fa
2 changed files with 2 additions and 2 deletions

View File

@@ -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,