diff options
author | Daniel Drake <dsd@laptop.org> | 2011-08-05 18:17:31 (GMT) |
---|---|---|
committer | Daniel Drake <dsd@laptop.org> | 2011-08-05 18:17:31 (GMT) |
commit | 4710dd15ad4f89201a90720c13495413076f87f0 (patch) | |
tree | e362d285fcfa4d7f94894eb7cc7207914a6e1558 /glive.py | |
parent | 8daca9741a0f2e1b9d9071a2e9c8e8f9ce071a6e (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.py | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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: |