summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2019-12-22 17:32:19 +0100
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2020-01-06 19:56:10 +0000
commitdb338f131658f7309e55c763b7da7461eaa13327 (patch)
treed7818e20ff92f5224c3222cbc3ca9d08c85985a8
parenta3c2c93216f03c9399fb67932e09e428306f0788 (diff)
libs: blend: update to new mini-object API
-rw-r--r--gst-libs/gst/vaapi/gstvaapiblend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiblend.c b/gst-libs/gst/vaapi/gstvaapiblend.c
index 7cf56b00..6a407f35 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;