Commit 32a618a9 authored by Mark Thompson's avatar 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).
parent 03b14700
...@@ -256,7 +256,7 @@ static int vaapi_encode_h264_write_extra_header(AVCodecContext *avctx, ...@@ -256,7 +256,7 @@ static int vaapi_encode_h264_write_extra_header(AVCodecContext *avctx,
ff_cbs_fragment_uninit(priv->cbc, au); ff_cbs_fragment_uninit(priv->cbc, au);
*type = VAEncPackedHeaderH264_SEI; *type = VAEncPackedHeaderRawData;
return 0; return 0;
} else { } else {
return AVERROR_EOF; return AVERROR_EOF;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment