[pitivi] Fix running without gst-validate
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Fix running without gst-validate
- Date: Mon, 12 Oct 2020 18:20:01 +0000 (UTC)
commit 6ad86bf0fb59c5e40a061624259509a47d58c90e
Author: Sebastian Dröge <sebastian centricular com>
Date: Tue Oct 6 09:30:37 2020 +0300
Fix running without gst-validate
Fixes https://gitlab.gnome.org/GNOME/pitivi/-/issues/2514
pitivi/check.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pitivi/check.py b/pitivi/check.py
index 7dcbb187d..8fe870bc9 100644
--- a/pitivi/check.py
+++ b/pitivi/check.py
@@ -396,7 +396,7 @@ def initialize_modules():
GstPbutils.DiscovererVideoInfo.get_rotation = video_info_get_rotation
from pitivi.utils import validate
- if validate.init() and "--inspect-action-type" in sys.argv:
+ if "--inspect-action-type" in sys.argv and validate.init():
try:
action_type = [sys.argv[1 + sys.argv.index("--inspect-action-type")]]
except IndexError:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]