summaryrefslogtreecommitdiff
path: root/libcheese
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2013-06-11 13:14:14 +0200
committerDavid King <amigadave@amigadave.com>2013-06-16 21:56:26 +0100
commitdaec944df23ef2a34e9b18baf83b89277245224d (patch)
tree4d121523a9357d04aff6927fcc11428d42e7c5bd /libcheese
parentda9ad5556ec3cbd4429c16f11393b8950c178038 (diff)
Do not block the main valve while recording
Otherwise frames intended for the recording are dropped. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'libcheese')
-rw-r--r--libcheese/cheese-camera.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcheese/cheese-camera.c b/libcheese/cheese-camera.c
index 9ec9b429..ad316773 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -919,7 +919,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
{