summaryrefslogtreecommitdiff
path: root/tests/check
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2015-12-17 15:23:13 +1100
committerMatthew Waters <matthew@centricular.com>2015-12-17 15:44:22 +1100
commit5dcd5002575ccae25a5ee0cc44b761f8fc74542e (patch)
tree73f8c1fb040c221a7d01b831bf1baa3239c5abf6 /tests/check
parent491e2eefcb3e9af1e1c3a0f7bdc48c80802877ef (diff)
downloadgstreamer-plugins-bad-5dcd5002575ccae25a5ee0cc44b761f8fc74542e.tar.gz
gl*memory*: reverse the parameter order of user_data and destroy notify
The convention is to have the destroy notify last after any user data
Diffstat (limited to 'tests/check')
-rw-r--r--tests/check/libs/gstglcolorconvert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/libs/gstglcolorconvert.c b/tests/check/libs/gstglcolorconvert.c
index 4577df968..9ee3fe979 100644
--- a/tests/check/libs/gstglcolorconvert.c
+++ b/tests/check/libs/gstglcolorconvert.c
@@ -147,7 +147,7 @@ check_conversion (TestFrame * frames, guint size)
ref_count++;
params = gst_gl_video_allocation_params_new_wrapped_data (context, NULL,
&in_info, j, NULL, GST_GL_TEXTURE_TARGET_2D, frames[i].data[j],
- _frame_unref, &ref_count);
+ &ref_count, _frame_unref);
mem = gst_gl_base_memory_alloc (base_mem_alloc,
(GstGLAllocationParams *) params);