Commit 7c0c59cc authored by Nicolas Dechesne's avatar Nicolas Dechesne Committed by Sebastian Dröge

tools: gst-play: set GST_GL_XINITHREADS

This ensure that XInitThreads is called and so gl contexts are properly
parent 98064ed9
...@@ -1194,6 +1194,8 @@ main (int argc, char **argv) ...@@ -1194,6 +1194,8 @@ main (int argc, char **argv)
#endif #endif
g_set_prgname ("gst-play-" GST_API_VERSION); g_set_prgname ("gst-play-" GST_API_VERSION);
/* Ensure XInitThreads() is called if/when needed */
g_setenv ("GST_GL_XINITTHREADS", "1", TRUE);
ctx = g_option_context_new ("FILE1|URI1 [FILE2|URI2] [FILE3|URI3] ..."); ctx = g_option_context_new ("FILE1|URI1 [FILE2|URI2] [FILE3|URI3] ...");
g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE); g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment