diff options
author | Zhong Li <zhong.li@intel.com> | 2018-03-15 18:02:12 +0800 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2018-03-16 13:36:30 +0100 |
commit | deefca02c275ce4bc5ccbee690463ffef81a18b8 (patch) | |
tree | 633610af5fd07502b36113fb78753c32e204f42f /libavcodec/qsvenc_h264.c | |
parent | 3d6e76b953afd36e23ef8532b81aea58a6338931 (diff) | |
download | ffmpeg-deefca02c275ce4bc5ccbee690463ffef81a18b8.tar.gz |
qsvenc: add the Access Unit Delimiter NAL Unit support
Signed-off-by: Zhong Li <zhong.li@intel.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/qsvenc_h264.c')
-rw-r--r-- | libavcodec/qsvenc_h264.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/qsvenc_h264.c b/libavcodec/qsvenc_h264.c index 1552d7691d..634a7d3f91 100644 --- a/libavcodec/qsvenc_h264.c +++ b/libavcodec/qsvenc_h264.c @@ -91,6 +91,8 @@ static const AVOption options[] = { { "main" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = MFX_PROFILE_AVC_MAIN }, INT_MIN, INT_MAX, VE, "profile" }, { "high" , NULL, 0, AV_OPT_TYPE_CONST, { .i64 = MFX_PROFILE_AVC_HIGH }, INT_MIN, INT_MAX, VE, "profile" }, + { "aud", "Insert the Access Unit Delimiter NAL", OFFSET(qsv.aud), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, VE}, + { NULL }, }; |