[FFmpeg-cvslog] vaapi_h264: Do not use deprecated header type

Mark Thompson git at videolan.org
Thu Nov 16 01:55:39 EET 2017


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Sun Oct  1 22:55:24 2017 +0100| [c77da21e5d15056b8ba060ee5ce9e73f26653612] | committer: Mark Thompson

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).

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c77da21e5d15056b8ba060ee5ce9e73f26653612
---

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



More information about the ffmpeg-cvslog mailing list