summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2014-04-25 16:18:07 -0400
committerLuis de Bethencourt <luis@debethencourt.com>2014-04-25 16:18:07 -0400
commitdb68e036e92d4bf82a18b8f70288b307e4a16c9e (patch)
treedda6319851c0344e32d8315afd003963b8ddfc12 /tests
parentdec5de073d21d59b6114526a78aec3a8365df8c7 (diff)
downloadgstreamer-plugins-bad-db68e036e92d4bf82a18b8f70288b307e4a16c9e.tar.gz
gl: check the correct GstGLMemory in basic_test
Diffstat (limited to 'tests')
-rw-r--r--tests/check/libs/gstglmemory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/libs/gstglmemory.c b/tests/check/libs/gstglmemory.c
index 5b29de6ed..6aaffdd9a 100644
--- a/tests/check/libs/gstglmemory.c
+++ b/tests/check/libs/gstglmemory.c
@@ -82,7 +82,7 @@ GST_START_TEST (test_basic)
/* copy the memory */
mem2 = gst_memory_copy (mem, 0, -1);
- fail_if (mem == NULL);
+ fail_if (mem2 == NULL);
gl_mem2 = (GstGLMemory *) mem2;
/* test params */