From db338f131658f7309e55c763b7da7461eaa13327 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Sun, 22 Dec 2019 17:32:19 +0100 Subject: [PATCH] libs: blend: update to new mini-object API --- gst-libs/gst/vaapi/gstvaapiblend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/vaapi/gstvaapiblend.c b/gst-libs/gst/vaapi/gstvaapiblend.c index 7cf56b0..6a407f3 100644 --- a/gst-libs/gst/vaapi/gstvaapiblend.c +++ b/gst-libs/gst/vaapi/gstvaapiblend.c @@ -234,7 +234,7 @@ gst_vaapi_blend_process_begin (GstVaapiBlend * blend, GstVaapiSurface * surface) GST_VAAPI_DISPLAY_LOCK (blend->display); va_status = vaBeginPicture (GST_VAAPI_DISPLAY_VADISPLAY (blend->display), - blend->va_context, GST_VAAPI_OBJECT_ID (surface)); + blend->va_context, GST_VAAPI_SURFACE_ID (surface)); if (!vaapi_check_status (va_status, "vaBeginPicture()")) { GST_VAAPI_DISPLAY_UNLOCK (blend->display); @@ -314,7 +314,7 @@ gst_vaapi_blend_process_render (GstVaapiBlend * blend, memset (param, 0, sizeof (*param)); - param->surface = GST_VAAPI_OBJECT_ID (surface); + param->surface = GST_VAAPI_SURFACE_ID (surface); param->surface_region = &src_rect; param->output_region = &dst_rect; param->output_background_color = 0xff000000; -- 2.7.4