libs: blend: update to new mini-object API

This commit is contained in:
Víctor Manuel Jáquez Leal 2019-12-22 17:32:19 +01:00
parent a3c2c93216
commit db338f1316

View file

@ -234,7 +234,7 @@ gst_vaapi_blend_process_begin (GstVaapiBlend * blend, GstVaapiSurface * surface)
GST_VAAPI_DISPLAY_LOCK (blend->display); GST_VAAPI_DISPLAY_LOCK (blend->display);
va_status = vaBeginPicture (GST_VAAPI_DISPLAY_VADISPLAY (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()")) { if (!vaapi_check_status (va_status, "vaBeginPicture()")) {
GST_VAAPI_DISPLAY_UNLOCK (blend->display); GST_VAAPI_DISPLAY_UNLOCK (blend->display);
@ -314,7 +314,7 @@ gst_vaapi_blend_process_render (GstVaapiBlend * blend,
memset (param, 0, sizeof (*param)); 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->surface_region = &src_rect;
param->output_region = &dst_rect; param->output_region = &dst_rect;
param->output_background_color = 0xff000000; param->output_background_color = 0xff000000;