diff --git a/sphvr/sinks.py b/sphvr/sinks.py index e079ae9..2a0c5dd 100644 --- a/sphvr/sinks.py +++ b/sphvr/sinks.py @@ -11,11 +11,8 @@ def __init__(self): self.widget = Gtk.DrawingArea() self.widget.set_double_buffered(True) - def xid(self): - return self.widget.get_window().get_xid() - def set_handle(self): - self.element.set_window_handle(self.xid()) + pass class GtkGLSink: @@ -24,4 +21,4 @@ def __init__(self): self.widget = self.element.get_property("widget") def set_handle(self): - pass \ No newline at end of file + pass diff --git a/sphvr/sphvr b/sphvr/sphvr index 544e4d0..99e32bf 100755 --- a/sphvr/sphvr +++ b/sphvr/sphvr @@ -16,13 +16,6 @@ from gi.repository import Gdk, Gst, Gtk, GdkX11, GstVideo, GstGL, GnomeDesktop, from sphvr.sinks import * from collections import OrderedDict -from ctypes import cdll -try: - x11 = cdll.LoadLibrary('libX11.so') - x11.XInitThreads() -except OSError: - pass - # Check if we're in development or installed version and set paths properly def _in_devel():