Module: libav
Branch: master
Commit: c77da21e5d15056b8ba060ee5ce9e73f26653612

Author:    Mark Thompson <[email protected]>
Committer: Mark Thompson <[email protected]>
Date:      Sun Oct  1 22:55:24 2017 +0100

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 377e365..48cebd6 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

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to