mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 08:55:33 +00:00
tools: gst-play: set GST_GL_XINITHREADS
This ensure that XInitThreads is called and so gl contexts are properly initialized. https://bugzilla.gnome.org/show_bug.cgi?id=776403
This commit is contained in:
parent
98064ed9bf
commit
7c0c59ccdf
1 changed files with 2 additions and 0 deletions
|
@ -1194,6 +1194,8 @@ main (int argc, char **argv)
|
|||
#endif
|
||||
|
||||
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] ...");
|
||||
g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE);
|
||||
|
|
Loading…
Reference in a new issue