[cheese/wip/hans-fixes: 19/35] cheese-camera: Don't block the main valve while recording
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese/wip/hans-fixes: 19/35] cheese-camera: Don't block the main valve while recording
- Date: Fri, 14 Jun 2013 22:25:17 +0000 (UTC)
commit f90e0ceb623400111d65a0cf55e4efb7157fab2e
Author: Hans de Goede <hdegoede redhat com>
Date: Tue Jun 11 13:14:14 2013 +0200
cheese-camera: Don't block the main valve while recording
Otherwise we end up dropping frames intended for the recording.
Signed-off-by: Hans de Goede <hdegoede redhat com>
libcheese/cheese-camera.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libcheese/cheese-camera.c b/libcheese/cheese-camera.c
index 9cfaf7e..2dc5655 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -942,7 +942,8 @@ cheese_camera_toggle_effects_pipeline (CheeseCamera *camera, gboolean active)
if (active)
{
g_object_set (G_OBJECT (priv->effects_valve), "drop", FALSE, NULL);
- g_object_set (G_OBJECT (priv->main_valve), "drop", TRUE, NULL);
+ if (!priv->is_recording)
+ g_object_set (G_OBJECT (priv->main_valve), "drop", TRUE, NULL);
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]