From 9e675bfb7acc9533f6dce27060cc0bd574aa2447 Mon Sep 17 00:00:00 2001
From: James Cameron <quozl@laptop.org>
Date: Mon, 1 Feb 2010 12:59:00 +1100
Subject: [PATCH] dev.laptop.org #9949 workaround, disable video during audio record
---
glive.py | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
diff --git a/glive.py b/glive.py
index d681d44..1441dfe 100644
|
a
|
b
|
|
| 353 | 353 | '! filesink location=%s ' \ |
| 354 | 354 | % TMP_OGG |
| 355 | 355 | |
| 356 | | if camera_presents: |
| 357 | | self.audio_pipe = gst.parse_launch( \ |
| 358 | | '%s ' \ |
| 359 | | '! queue ' \ |
| 360 | | '! %s ' \ |
| 361 | | '%s ' \ |
| 362 | | % (self.src_str, self.play_str, audio_pipe)) |
| 363 | | else: |
| 364 | | self.audio_pipe = gst.parse_launch(audio_pipe) |
| | 356 | self.audio_pipe = gst.parse_launch(audio_pipe) |
| 365 | 357 | |
| 366 | 358 | def message_cb(bus, message, self): |
| 367 | 359 | if message.type == gst.MESSAGE_ERROR: |