summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2018-06-13 18:00:18 +0200
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2018-06-14 16:41:00 +0200
commit6ccd5d6fb2b674fcd82c148918755569616355d4 (patch)
treef4991ae58327a92f58c990701c7874f2aa9b5ce2 /tests
parentfb1c4c52ccd5b258d0968da7752200655c067809 (diff)
libs: display: remove gst_vaapi_display_ref()
Replace it with gst_object_ref() https://bugzilla.gnome.org/show_bug.cgi?id=796470
Diffstat (limited to 'tests')
-rw-r--r--tests/test-decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-decode.c b/tests/test-decode.c
index d44ac438..a85eabad 100644
--- a/tests/test-decode.c
+++ b/tests/test-decode.c
@@ -79,7 +79,7 @@ main (int argc, char *argv[])
if (CHECK_DISPLAY_CACHE)
display2 = video_output_create_display (NULL);
else
- display2 = gst_vaapi_display_ref (display);
+ display2 = gst_object_ref (display);
if (!display2)
g_error ("could not create second VA display");