Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2008-07-08 14:12:03 (GMT)
committer Daniel Drake <dsd@laptop.org>2008-07-08 14:12:03 (GMT)
commita5874cae87288ab8ebedee941a06076ddfaa1c62 (patch)
tree985b073f2fdb9e44b965f13b5207324a7f412b1e
parent697b83d548e603e6385ab202aeca6a1c3469466d (diff)
fix playing and pausing
Must have missed these hunks somehow
-rw-r--r--glive.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/glive.py b/glive.py
index f799652..8f4bf29 100644
--- a/glive.py
+++ b/glive.py
@@ -176,10 +176,11 @@ class Glive:
def play(self):
+ self.pipeline.set_state(gst.STATE_PLAYING)
self.playing = True
def pause(self):
- self.pipe().set_state(gst.STATE_PAUSED)
+ self.pipeline.set_state(gst.STATE_PAUSED)
self.playing = False