]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vaapi_vp8.c
cbs_h264: Add utility functions to insert/delete SEI messages
[ffmpeg] / libavcodec / vaapi_vp8.c
index 1ba5c7ec941727a788e948169aed5a0b1c39d2b1..e18b1cb2df86f2f71695ef91380db36a87fe43cc 100644 (file)
@@ -220,7 +220,7 @@ fail:
     return err;
 }
 
-AVHWAccel ff_vp8_vaapi_hwaccel = {
+const AVHWAccel ff_vp8_vaapi_hwaccel = {
     .name                 = "vp8_vaapi",
     .type                 = AVMEDIA_TYPE_VIDEO,
     .id                   = AV_CODEC_ID_VP8,
@@ -232,5 +232,6 @@ AVHWAccel ff_vp8_vaapi_hwaccel = {
     .init                 = &ff_vaapi_decode_init,
     .uninit               = &ff_vaapi_decode_uninit,
     .priv_data_size       = sizeof(VAAPIDecodeContext),
+    .frame_params         = &ff_vaapi_common_frame_params,
     .caps_internal        = HWACCEL_CAP_ASYNC_SAFE,
 };