summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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");