summaryrefslogtreecommitdiff
path: root/tests/test-textures.c
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-05-07 11:45:10 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-05-07 18:19:03 +0200
commitda403b62d0023b370c5def46f8af76df6384f69e (patch)
treee847f848683d7063c1de4fcdd73b67a300c0aa52 /tests/test-textures.c
parent98bee4240fc9b57e94524c3a68a0c4b5eaa3c538 (diff)
tests: cope with new GstVaapiMiniObject objects.
Diffstat (limited to 'tests/test-textures.c')
-rw-r--r--tests/test-textures.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-textures.c b/tests/test-textures.c
index 9d6e58b9..e89fb5f2 100644
--- a/tests/test-textures.c
+++ b/tests/test-textures.c
@@ -182,12 +182,12 @@ main(int argc, char *argv[])
gst_vaapi_window_glx_swap_buffers(glx_window);
pause();
- g_object_unref(textures[0]);
- g_object_unref(textures[1]);
+ gst_vaapi_texture_unref(textures[0]);
+ gst_vaapi_texture_unref(textures[1]);
glDeleteTextures(1, &texture_id);
- g_object_unref(window);
- g_object_unref(display);
+ gst_vaapi_window_unref(window);
+ gst_vaapi_display_unref(display);
gst_deinit();
return 0;
}