mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
test-colorkey: remove the XInitThreads()
We don't do this is any other example, this should be done for us in gdk it if would be needed.
This commit is contained in:
parent
3be20d7a5e
commit
432790c4ff
1 changed files with 0 additions and 7 deletions
|
@ -30,8 +30,6 @@
|
|||
#include <gdk/gdkx.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
#include <gst/gst.h>
|
||||
#include <gst/interfaces/xoverlay.h>
|
||||
#include <gst/interfaces/propertyprobe.h>
|
||||
|
@ -167,11 +165,6 @@ main (int argc, char **argv)
|
|||
if (!g_thread_supported ())
|
||||
g_thread_init (NULL);
|
||||
|
||||
if (!XInitThreads ()) {
|
||||
g_print ("XInitThreads failed\n");
|
||||
exit (-1);
|
||||
}
|
||||
|
||||
gst_init (&argc, &argv);
|
||||
gtk_init (&argc, &argv);
|
||||
|
||||
|
|
Loading…
Reference in a new issue