summaryrefslogtreecommitdiff
path: root/libavcodec/vaapi_encode_h264.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-10-01 22:55:24 +0100
committerMark Thompson <sw@jkqxz.net>2017-11-12 15:59:45 +0000
commitc77da21e5d15056b8ba060ee5ce9e73f26653612 (patch)
treeba38a250395bcd597004fd1a26faf2c8e68dce8a /libavcodec/vaapi_encode_h264.c
parentff007e30d8d45ba1ff2b2a4615f1cd5bafb50626 (diff)
downloadffmpeg-c77da21e5d15056b8ba060ee5ce9e73f26653612.tar.gz
vaapi_h264: Do not use deprecated header type
SEI headers should be inserted as generic raw data (the old specific type has been deprecated in libva2).
Diffstat (limited to 'libavcodec/vaapi_encode_h264.c')
-rw-r--r--libavcodec/vaapi_encode_h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vaapi_encode_h264.c b/libavcodec/vaapi_encode_h264.c
index 377e3652de..48cebd6edf 100644
--- a/libavcodec/vaapi_encode_h264.c
+++ b/libavcodec/vaapi_encode_h264.c
@@ -253,7 +253,7 @@ static int vaapi_encode_h264_write_extra_header(AVCodecContext *avctx,
ff_cbs_fragment_uninit(&priv->cbc, au);
- *type = VAEncPackedHeaderH264_SEI;
+ *type = VAEncPackedHeaderRawData;
return 0;
#if !HAVE_VAAPI_1