[cheese/camerabin2: 8/23] cheese-camera: Remove camerabin's workaround
- From: Luciana Fujii Pontello <lufujii src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese/camerabin2: 8/23] cheese-camera: Remove camerabin's workaround
- Date: Mon, 27 Aug 2012 03:29:37 +0000 (UTC)
commit f7b567cbb5da1f64a8f22417d98ff2db06ae91ce
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 2737061..198c7eb 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -1000,10 +1000,8 @@ 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);
cheese_camera_set_tags (camera);
- 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]