From 32a618a948c20f18db102d0b0976790222a57105 Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Wed, 18 Oct 2017 19:46:53 +0100 Subject: [PATCH] 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). --- libavcodec/vaapi_encode_h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vaapi_encode_h264.c b/libavcodec/vaapi_encode_h264.c index 9d9611f882..9a4bd53da1 100644 --- a/libavcodec/vaapi_encode_h264.c +++ b/libavcodec/vaapi_encode_h264.c @@ -256,7 +256,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; } else { return AVERROR_EOF;