[pitivi] pipeline: Handle automatic clip rotation



commit 00d903efe725dc9f5c4b2f6e4dff4f8c5a306738
Author: Thibault Saunier <tsaunier igalia com>
Date:   Fri Aug 9 19:04:45 2019 -0400

    pipeline: Handle automatic clip rotation

 pitivi/utils/pipeline.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/pitivi/utils/pipeline.py b/pitivi/utils/pipeline.py
index 3f9f6eaa..1a13e7ce 100644
--- a/pitivi/utils/pipeline.py
+++ b/pitivi/utils/pipeline.py
@@ -514,6 +514,7 @@ class AssetPipeline(SimplePipeline):
 
     def __init__(self, uri=None, name=None):
         ges_pipeline = Gst.ElementFactory.make("playbin", name)
+        ges_pipeline.props.video_filter = Gst.parse_bin_from_description("videoflip method=automatic", True)
         SimplePipeline.__init__(self, ges_pipeline)
 
         self.__uri = None


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]