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).
This commit is contained in:
Mark Thompson 2017-10-01 22:55:24 +01:00
parent ff007e30d8
commit c77da21e5d
1 changed files with 1 additions and 1 deletions

View File

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