Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/glive.py
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2011-08-05 18:17:31 (GMT)
committer Daniel Drake <dsd@laptop.org>2011-08-05 18:17:31 (GMT)
commit4710dd15ad4f89201a90720c13495413076f87f0 (patch)
treee362d285fcfa4d7f94894eb7cc7207914a6e1558 /glive.py
parent8daca9741a0f2e1b9d9071a2e9c8e8f9ce071a6e (diff)
Release video while saving audio file
The video feed is not displayed on screen while saving audio, so we can stop the feed. This means that alt-tabbing away during an audio recording releases the video feed much quicker.
Diffstat (limited to 'glive.py')
-rw-r--r--glive.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/glive.py b/glive.py
index 6464089..fd9a5af 100644
--- a/glive.py
+++ b/glive.py
@@ -351,7 +351,6 @@ class Glive:
self._pipeline.set_state(gst.STATE_NULL)
self.model.shutter_sound()
self._pipeline.remove(self._audiobin)
- self.play()
audio_path = os.path.join(Instance.instancePath, "output.wav")
if not os.path.exists(audio_path) or os.path.getsize(audio_path) <= 0: