From 6333c8531663634f72622176f3fb88e6e69a3e62 Mon Sep 17 00:00:00 2001 From: He Junyan Date: Sat, 23 May 2020 14:00:58 +0800 Subject: libs: subpicture: Make subpicture a standard GstMiniObject. Part-of: --- tests/internal/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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; } -- cgit v1.2.1