projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98064ed
)
tools: gst-play: set GST_GL_XINITHREADS
author
Nicolas Dechesne
<nicolas.dechesne@linaro.org>
Thu, 22 Dec 2016 17:47:19 +0000
(18:47 +0100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Fri, 23 Dec 2016 10:18:10 +0000
(12:18 +0200)
This ensure that XInitThreads is called and so gl contexts are properly
initialized.
https://bugzilla.gnome.org/show_bug.cgi?id=776403
tools/gst-play.c
patch
|
blob
|
history
diff --git
a/tools/gst-play.c
b/tools/gst-play.c
index 5708737ac4cef0e0993881ca5b72d74fb66f63fb..189e8f7071ec3121dc1d68fe0a99bdc4732a7fef 100644
(file)
--- a/
tools/gst-play.c
+++ b/
tools/gst-play.c
@@
-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);