[cheese/camerabin2: 7/18] cheese-camera: Remove camerabin's workaround
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese/camerabin2: 7/18] cheese-camera: Remove camerabin's workaround
- Date: Tue, 6 Mar 2012 15:28:57 +0000 (UTC)
commit 453e18d59618631f1857818ef13b70aa405301e1
Author: Luciana Fujii Pontello <luciana fujii collabora co uk>
Date: Thu May 5 16:45:34 2011 -0300
cheese-camera: Remove camerabin's workaround
libcheese/cheese-camera.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/libcheese/cheese-camera.c b/libcheese/cheese-camera.c
index 1f519ea..93c1aaf 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -986,9 +986,7 @@ cheese_camera_start_video_recording (CheeseCamera *camera, const gchar *filename
priv = camera->priv;
g_object_set (priv->camerabin, "mode", MODE_VIDEO, NULL);
- gst_element_set_state (priv->camerabin, GST_STATE_READY);
g_object_set (priv->camerabin, "location", filename, NULL);
- gst_element_set_state (priv->camerabin, GST_STATE_PLAYING);
g_signal_emit_by_name (priv->camerabin, "start-capture", 0);
priv->is_recording = TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]