From 427fd071b769d832eddf3a7427155d409ed8114e Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 28 Feb 2017 19:57:17 +0100 Subject: Declare versions for GI modules. --- example-scripts/gstreamer/ingest.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3