Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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