[pitivi] validate: Seeker is dead



commit 4b5b8b45458433da74e968988d96d61ccdb8cbe3
Author: Thibault Saunier <tsaunier gnome org>
Date:   Fri Jan 15 18:03:46 2016 +0000

    validate: Seeker is dead
    
    Reviewed-by: Alex Băluț <alexandru balut gmail com>
    Differential Revision: https://phabricator.freedesktop.org/D678

 pitivi/utils/validate.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/utils/validate.py b/pitivi/utils/validate.py
index 68641c7..83533a3 100644
--- a/pitivi/utils/validate.py
+++ b/pitivi/utils/validate.py
@@ -162,10 +162,9 @@ def positionChangedCb(pipeline, position, scenario, action,
 
 
 def seek(scenario, action):
-    from pitivi.utils.pipeline import Seeker
     res, wanted_position = GstValidate.utils_get_clocktime(action.structure,
                                                       "start")
-    Seeker().seek(action.structure["start"])
+    scenario.pipeline.simple_seek(wanted_position)
     scenario.pipeline.connect("position", positionChangedCb, scenario,
                               action, wanted_position)
 


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