[cheese/camerabin2-format: 13/27] cheese-camera: Remove camerabin's workaround
- From: Oleksij Rempel <orempel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese/camerabin2-format: 13/27] cheese-camera: Remove camerabin's workaround
- Date: Sat, 24 Mar 2012 08:29:43 +0000 (UTC)
commit 294b55d8e7bb1876e79fbaf27eecbce2a2b424df
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]