summaryrefslogtreecommitdiff
path: root/tests/image.c
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-05-07 11:45:10 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-05-07 18:19:03 +0200
commitda403b62d0023b370c5def46f8af76df6384f69e (patch)
treee847f848683d7063c1de4fcdd73b67a300c0aa52 /tests/image.c
parent98bee4240fc9b57e94524c3a68a0c4b5eaa3c538 (diff)
tests: cope with new GstVaapiMiniObject objects.
Diffstat (limited to 'tests/image.c')
-rw-r--r--tests/image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/image.c b/tests/image.c
index 7f6f395b..5c45391f 100644
--- a/tests/image.c
+++ b/tests/image.c
@@ -43,7 +43,7 @@ image_generate(
image_draw_rectangle(image, w/2, h/2, w/2, h/2, 0xff000000))
return image;
- g_object_unref(image);
+ gst_vaapi_object_unref(image);
return NULL;
}
@@ -355,6 +355,6 @@ image_upload(GstVaapiImage *image, GstVaapiSurface *surface)
g_error("could not associate subpicture to surface");
/* The surface holds a reference to the subpicture. This is safe */
- g_object_unref(subpicture);
+ gst_vaapi_object_unref(subpicture);
return TRUE;
}