Browse Source

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).
tags/n4.0
Mark Thompson 7 years ago
parent
commit
32a618a948
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/vaapi_encode_h264.c

+ 1
- 1
libavcodec/vaapi_encode_h264.c View File

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


Loading…
Cancel
Save