aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qsvenc_h264.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-03-29 20:34:43 -0300
committerJames Almer <jamrial@gmail.com>2018-03-29 20:34:43 -0300
commitb065c71e9d2ad3c5d65f924a4003e3a7ee595417 (patch)
treefde3d285e010230bbd2d147802bebfdad70776c6 /libavcodec/qsvenc_h264.c
parent20608261f7818fc034f96034a089e755f095716e (diff)
parentdeefca02c275ce4bc5ccbee690463ffef81a18b8 (diff)
downloadffmpeg-b065c71e9d2ad3c5d65f924a4003e3a7ee595417.tar.gz
Merge commit 'deefca02c275ce4bc5ccbee690463ffef81a18b8'
* commit 'deefca02c275ce4bc5ccbee690463ffef81a18b8': qsvenc: add the Access Unit Delimiter NAL Unit support Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/qsvenc_h264.c')
-rw-r--r--libavcodec/qsvenc_h264.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/qsvenc_h264.c b/libavcodec/qsvenc_h264.c
index e01a2a3369..0fe29c2730 100644
--- a/libavcodec/qsvenc_h264.c
+++ b/libavcodec/qsvenc_h264.c
@@ -142,6 +142,9 @@ static const AVOption options[] = {
{ "high" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = MFX_PROFILE_AVC_HIGH }, INT_MIN, INT_MAX, VE, "profile" },
{ "a53cc" , "Use A53 Closed Captions (if available)", OFFSET(qsv.a53_cc), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, VE},
+
+ { "aud", "Insert the Access Unit Delimiter NAL", OFFSET(qsv.aud), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, VE},
+
{ NULL },
};