aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2015-11-17 00:24:26 +0100
committerMaZderMind <git@mazdermind.de>2015-11-17 00:24:26 +0100
commit07f2ab39dc7acd278fa78ab841030207abe2e127 (patch)
tree47c9b44c055837232c9748b066e6214251c49e73
parentd37661d72375bcea603afa0bac16703004923afe (diff)
specify gi-version before importing from gi
-rwxr-xr-xvoctogui/voctogui.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/voctogui/voctogui.py b/voctogui/voctogui.py
index fa81d1c..9f0cc0a 100755
--- a/voctogui/voctogui.py
+++ b/voctogui/voctogui.py
@@ -2,7 +2,10 @@
import gi, signal, logging, sys, os
# import GStreamer and GLib-Helper classes
+gi.require_version('Gtk', '3.0')
gi.require_version('Gst', '1.0')
+gi.require_version('GdkX11', '3.0')
+gi.require_version('GstVideo', '1.0')
from gi.repository import Gtk, Gdk, Gst, GObject, GdkX11, GstVideo
# check min-version