checks: Ensure thread-safe libX11/GL when running tests

This commit is contained in:
Edward Hervey 2015-08-14 12:25:19 +02:00 committed by Tim-Philipp Müller
parent 9fd57c9a6c
commit 7e62a38569

View file

@ -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__);
}