[cheese/camerabin2: 7/18] cheese-camera: Remove camerabin's workaround
- From: Oleksij Rempel <orempel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese/camerabin2: 7/18] cheese-camera: Remove camerabin's workaround
- Date: Tue, 13 Mar 2012 14:29:17 +0000 (UTC)
commit 94d9ca5fe8bf2030a173362c72172a134bb9cd27
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 14d0059..41e32c4 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -996,10 +996,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]