From 438b83c9fcd6ccaef5ec727ddcbafc699c5a7e85 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Fri, 30 Jan 2015 18:51:17 +1100 Subject: [PATCH] gl: update unit test for glmemory api change --- tests/check/libs/gstglmemory.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/check/libs/gstglmemory.c b/tests/check/libs/gstglmemory.c index c25ae7cd6d..06d82f6a6e 100644 --- a/tests/check/libs/gstglmemory.c +++ b/tests/check/libs/gstglmemory.c @@ -143,7 +143,8 @@ GST_START_TEST (test_transfer) /* wrapped texture creation */ mem3 = (GstMemory *) gst_gl_memory_wrapped_texture (context, - ((GstGLMemory *) mem)->tex_id, &v_info, 0, NULL, NULL, NULL); + ((GstGLMemory *) mem)->tex_id, GL_TEXTURE_2D, &v_info, 0, NULL, NULL, + NULL); fail_unless (!GST_GL_MEMORY_FLAG_IS_SET (mem3, GST_GL_MEMORY_FLAG_NEED_UPLOAD)); fail_unless (GST_GL_MEMORY_FLAG_IS_SET (mem3,