summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-02-28 19:57:17 +0100
committerJonas Smedegaard <dr@jones.dk>2017-02-28 19:57:17 +0100
commit427fd071b769d832eddf3a7427155d409ed8114e (patch)
tree81f3d1afe4289d3da5ce1da3f276d4d348d6c86e
parentcb42a9ad193179c527b44eccd3ca3ac59d573386 (diff)
Declare versions for GI modules.
-rwxr-xr-xexample-scripts/gstreamer/ingest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/example-scripts/gstreamer/ingest.py b/example-scripts/gstreamer/ingest.py
index efb7be2..af8454a 100755
--- a/example-scripts/gstreamer/ingest.py
+++ b/example-scripts/gstreamer/ingest.py
@@ -19,6 +19,7 @@ import socket
import sys
gi.require_version('Gst', '1.0')
+gi.require_version('GstNet', '1.0')
from gi.repository import Gst, GstNet, GObject
# init GObject & Co. before importing local classes
@@ -29,6 +30,7 @@ Gst.init([])
sys.path.insert(0, '../..')
sys.path.insert(0, '.')
+gi.require_version('Gtk', '3.0')
import voctogui.lib.connection as Connection