mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
checks: Ensure thread-safe libX11/GL when running tests
This commit is contained in:
parent
9fd57c9a6c
commit
7e62a38569
1 changed files with 9 additions and 1 deletions
|
@ -233,4 +233,12 @@ glimagesink_suite (void)
|
|||
return s;
|
||||
}
|
||||
|
||||
GST_CHECK_MAIN (glimagesink)
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
Suite *s;
|
||||
g_setenv ("GST_GL_XINITTHREADS", "1", TRUE);
|
||||
gst_check_init (&argc, &argv);
|
||||
s = glimagesink_suite ();
|
||||
return gst_check_run_suite (s, "glimagesink", __FILE__);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue