[pitivi/ges] Fixup remove the playback file
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/ges] Fixup remove the playback file
- Date: Sat, 5 May 2012 20:19:05 +0000 (UTC)
commit 5754ad1f1e4fad78ea5f971e87b85f51d8fb094d
Author: Thibault Saunier <thibault saunier collabora com>
Date: Sat May 5 11:03:38 2012 -0400
Fixup remove the playback file
pitivi/utils/pipeline.py | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/pitivi/utils/pipeline.py b/pitivi/utils/pipeline.py
index 921ad57..b185dec 100644
--- a/pitivi/utils/pipeline.py
+++ b/pitivi/utils/pipeline.py
@@ -131,23 +131,6 @@ class Seeker(Signallable, Loggable):
return False
-#-----------------------------------------------------------------------------#
-# Pipeline utils #
-def togglePlayback(pipeline):
- if int(pipeline.get_state()[1]) == int(gst.STATE_PLAYING):
- state = gst.STATE_PAUSED
- else:
- state = gst.STATE_PLAYING
-
- res = pipeline.set_state(state)
- if res == gst.STATE_CHANGE_FAILURE:
- gst.error("Could no set state to %s")
- state = gst.STATE_NULL
- pipeline.set_state(state)
-
- return state
-
-
class SimplePipeline(Loggable, Signallable):
"""
The Pipeline is only responsible for:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]