[pitivi] utils/pipeline: seekRelative(0) is a legitimate case.
- From: Jean-François Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] utils/pipeline: seekRelative(0) is a legitimate case.
- Date: Mon, 8 Jul 2013 00:51:57 +0000 (UTC)
commit 12b87432630dc09b577781b1a2d20634012e5483
Author: Mathieu Duponchelle <mathieu duponchelle epitech eu>
Date: Tue Jun 25 18:20:12 2013 +0200
utils/pipeline: seekRelative(0) is a legitimate case.
pitivi/utils/pipeline.py | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/utils/pipeline.py b/pitivi/utils/pipeline.py
index 48b8759..cf4909f 100644
--- a/pitivi/utils/pipeline.py
+++ b/pitivi/utils/pipeline.py
@@ -370,9 +370,6 @@ class SimplePipeline(Signallable, Loggable):
self.emit('position', position)
def seekRelative(self, time):
- if not time:
- self.error("Trying to seek to an invalid time: %s", time)
- return
seekvalue = max(0, min(self.getPosition() + time, self.getDuration()))
self.simple_seek(seekvalue)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]