mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
gl/tests: fix deadlock on glcontext wrapped context test
This commit is contained in:
parent
daef98e3e6
commit
e5debcaff4
1 changed files with 1 additions and 2 deletions
|
@ -374,13 +374,12 @@ GST_START_TEST (test_wrapped_context)
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
gst_object_unref (other_context);
|
|
||||||
|
|
||||||
gst_gl_window_send_message (window, GST_GL_WINDOW_CB (check_wrapped),
|
gst_gl_window_send_message (window, GST_GL_WINDOW_CB (check_wrapped),
|
||||||
wrapped_context);
|
wrapped_context);
|
||||||
|
|
||||||
gst_gl_window_send_message (other_window, GST_GL_WINDOW_CB (deinit), 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 (other_window);
|
||||||
gst_object_unref (window);
|
gst_object_unref (window);
|
||||||
gst_object_unref (context);
|
gst_object_unref (context);
|
||||||
|
|
Loading…
Reference in a new issue