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

Mark Thompson git at videolan.org
Wed Oct 18 22:08:52 EEST 2017


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Wed Oct 18 19:46:53 2017 +0100| [32a618a948c20f18db102d0b0976790222a57105] | 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=32a618a948c20f18db102d0b0976790222a57105
---

 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;



More information about the ffmpeg-cvslog mailing list