summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHe Junyan <junyan.he@hotmail.com>2020-05-23 14:00:58 +0800
committerHe Junyan <junyan.he@hotmail.com>2020-05-27 15:08:00 +0800
commit6333c8531663634f72622176f3fb88e6e69a3e62 (patch)
treee103fa71bfe11bff0af173f353db9202f1be2570 /tests
parent3df1018b023e9368036b024e0ce80570258eeb33 (diff)
libs: subpicture: Make subpicture a standard GstMiniObject.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/331>
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;
}