Description: <short summary of the patch>
TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.
.
clutter-gst-3.0 (3.0.14-1) unstable; urgency=medium
.
* New upstream release.
Author: Michael Biebl <biebl@debian.org>
---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:
Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>
--- a/clutter-gst/clutter-gst-plugin.c
+++ b/clutter-gst/clutter-gst-plugin.c
@@ -50,7 +50,8 @@
#if defined (CLUTTER_WINDOWING_X11)
/* Required by some GStreamer element like VA */
- XInitThreads ();
+ if (clutter_check_windowing_backend (CLUTTER_WINDOWING_X11))
+ XInitThreads ();
#endif
ret = gst_element_register (plugin,
--- a/clutter-gst/clutter-gst-util.c
+++ b/clutter-gst/clutter-gst-util.c
@@ -133,7 +133,8 @@
#if defined (CLUTTER_WINDOWING_X11)
/* Required by some GStreamer element like VA */
- XInitThreads ();
+ if (clutter_check_windowing_backend (CLUTTER_WINDOWING_X11))
+ XInitThreads ();
#endif
gst_init (argc, argv);
@@ -192,7 +193,8 @@
#if defined (CLUTTER_WINDOWING_X11)
/* Required by some gstreamer element like VA */
- XInitThreads ();
+ if (clutter_check_windowing_backend (CLUTTER_WINDOWING_X11))
+ XInitThreads ();
#endif
context = g_option_context_new (parameter_string);