[cheese/gnome-3-2] Set camerabin to playing before start-capture
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese/gnome-3-2] Set camerabin to playing before start-capture
- Date: Tue, 15 Nov 2011 07:32:52 +0000 (UTC)
commit 865795f5c1bc13512c80572745b869d816b7a2fa
Author: Thiago Santos <thiago sousa santos collabora com>
Date: Sun Nov 13 23:54:29 2011 -0300
Set camerabin to playing before start-capture
Fixes bug 663998, with the camerabin documentation being updated in bug
664048.
libcheese/cheese-camera.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libcheese/cheese-camera.c b/libcheese/cheese-camera.c
index a818970..d423927 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -789,8 +789,8 @@ cheese_camera_start_video_recording (CheeseCamera *camera, const char *filename)
g_object_set (priv->camerabin, "mode", MODE_VIDEO, NULL);
gst_element_set_state (priv->camerabin, GST_STATE_READY);
g_object_set (priv->camerabin, "filename", filename, NULL);
- g_signal_emit_by_name (priv->camerabin, "capture-start", 0);
gst_element_set_state (priv->camerabin, GST_STATE_PLAYING);
+ g_signal_emit_by_name (priv->camerabin, "capture-start", 0);
priv->is_recording = TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]