summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2015-03-13 09:37:46 +0000
committerMatthew Waters <matthew@centricular.com>2015-03-13 12:30:20 +0000
commite5debcaff40ee0749cbeb34bedcfd687548127dd (patch)
tree8b8e37e7b1d110291384a3574cc4cd3ce4e17ea4 /tests
parentdaef98e3e63e922413a93cb58dec2f0f9ec6a74a (diff)
downloadgstreamer-plugins-bad-e5debcaff40ee0749cbeb34bedcfd687548127dd.tar.gz
gl/tests: fix deadlock on glcontext wrapped context test
Diffstat (limited to 'tests')
-rw-r--r--tests/check/libs/gstglcontext.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/check/libs/gstglcontext.c b/tests/check/libs/gstglcontext.c
index bc0fa7874..901db504e 100644
--- a/tests/check/libs/gstglcontext.c
+++ b/tests/check/libs/gstglcontext.c
@@ -374,13 +374,12 @@ GST_START_TEST (test_wrapped_context)
i++;
}
- gst_object_unref (other_context);
-
gst_gl_window_send_message (window, GST_GL_WINDOW_CB (check_wrapped),
wrapped_context);
gst_gl_window_send_message (other_window, GST_GL_WINDOW_CB (deinit), context);
+ gst_object_unref (other_context);
gst_object_unref (other_window);
gst_object_unref (window);
gst_object_unref (context);