Current location

narf Source control manager Git

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorg <Jorg@issues.mediagoblin.org>2017-10-29 21:26:09 +1100
committerOlivier Mehani <shtrom@ssji.net>2017-10-29 21:57:04 +1100
commit98bfc361e84b2ab13ed365127431fc39cefe60f0 (patch)
treeda996298cfb157afbba7bcb96ea7f1079aba0268
parent4f3e9a721143eb50380f2041b012475149b43440 (diff)
Specify version before importing GstPbutilsshtrom/2017-10-29
From https://issues.mediagoblin.org/ticket/5494 Signed-off-by: Olivier Mehani <shtrom@ssji.net>
-rw-r--r--mediagoblin/media_types/video/transcoders.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mediagoblin/media_types/video/transcoders.py b/mediagoblin/media_types/video/transcoders.py
index f4b0341e..6aa5c2c1 100644
--- a/mediagoblin/media_types/video/transcoders.py
+++ b/mediagoblin/media_types/video/transcoders.py
@@ -24,7 +24,7 @@ import multiprocessing
from mediagoblin.media_types.tools import discover
from mediagoblin.tools.translate import lazy_pass_to_ugettext as _
-#os.environ['GST_DEBUG'] = '4,python:4'
+os.environ['GST_DEBUG'] = '4,python:4'
old_argv = sys.argv
sys.argv = []
@@ -34,6 +34,7 @@ gi.require_version('Gst', '1.0')
from gi.repository import GObject, Gst
Gst.init(None)
# init before import to work around https://bugzilla.gnome.org/show_bug.cgi?id=736260
+gi.require_version('GstPbutils', '1.0')
from gi.repository import GstPbutils
sys.argv = old_argv