summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/internal/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/internal/image.c b/tests/internal/image.c
index 30256cb7..ea532fb8 100644
--- a/tests/internal/image.c
+++ b/tests/internal/image.c
@@ -395,6 +395,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 */
- gst_vaapi_object_unref (subpicture);
+ gst_vaapi_subpicture_unref (subpicture);
return TRUE;
}