summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2018-05-21 11:56:11 +0200
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2018-09-03 17:54:19 +0200
commit4649ac1c382abb8960f40832871548eae2f80de8 (patch)
tree07c18324b4a7ea5d5ba8ef0aad9209bdfaa6670e /tests
parentad5eb75187f487bc691010933aa3e29849805b62 (diff)
libs: decoder: remove gst_vaapi_decoder_unref()
Replaced by gst_object_unref() in tests https://bugzilla.gnome.org/show_bug.cgi?id=796308
Diffstat (limited to 'tests')
-rw-r--r--tests/test-decode.c2
-rw-r--r--tests/test-subpicture.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-decode.c b/tests/test-decode.c
index a85eabad..cc1688bc 100644
--- a/tests/test-decode.c
+++ b/tests/test-decode.c
@@ -134,7 +134,7 @@ main (int argc, char *argv[])
if (pixmap)
gst_vaapi_pixmap_unref (pixmap);
gst_vaapi_surface_proxy_unref (proxy);
- gst_vaapi_decoder_unref (decoder);
+ gst_object_unref (decoder);
gst_vaapi_window_unref (window);
gst_object_unref (display);
gst_object_unref (display2);
diff --git a/tests/test-subpicture.c b/tests/test-subpicture.c
index 588e7a7b..c3298abe 100644
--- a/tests/test-subpicture.c
+++ b/tests/test-subpicture.c
@@ -164,7 +164,7 @@ main (int argc, char *argv[])
gst_video_overlay_composition_unref (compo);
gst_vaapi_surface_proxy_unref (proxy);
- gst_vaapi_decoder_unref (decoder);
+ gst_object_unref (decoder);
gst_vaapi_window_unref (window);
gst_object_unref (display);
g_free (g_codec_str);