aboutsummaryrefslogtreecommitdiff
path: root/voctogui
diff options
context:
space:
mode:
authorJuan A. Diaz <juan@linux.org.ar>2015-09-26 17:20:56 -0300
committerJuan A. Diaz <juan@linux.org.ar>2015-09-26 17:20:56 -0300
commitc11afb9995f452cb702ddef128f7e652f399bdbc (patch)
tree1770ae8d95436433565d75875eca3cfc91463616 /voctogui
parentb30ba5aff5f1d0bce7ab47c1818a5b07f1aba3d7 (diff)
Gst must be initialized before call any method.
Diffstat (limited to 'voctogui')
-rwxr-xr-xvoctogui/voctogui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/voctogui/voctogui.py b/voctogui/voctogui.py
index 1ca6579..f867971 100755
--- a/voctogui/voctogui.py
+++ b/voctogui/voctogui.py
@@ -9,6 +9,7 @@ from gi.repository import Gtk, Gdk, Gst, GObject, GdkX11, GstVideo
minGst = (1, 5)
minPy = (3, 0)
+Gst.init([])
if Gst.version() < minGst:
raise Exception("GStreamer version", Gst.version(), 'is too old, at least', minGst, 'is required')
@@ -20,7 +21,6 @@ if sys.version_info < minPy:
GObject.threads_init()
Gdk.init([])
Gtk.init([])
-Gst.init([])
# import local classes
from lib.args import Args