[cheese/camerabin2: 7/13] cheese-camera: Remove camerabin's workaround



commit d2d3ddfa40d3c8b295698a4db473a86833603aa6
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 67e2d27..45755d1 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -788,10 +788,8 @@ cheese_camera_start_video_recording (CheeseCamera *camera, const char *filename)
   CheeseCameraPrivate *priv = CHEESE_CAMERA_GET_PRIVATE (camera);
 
   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);
   g_signal_emit_by_name (priv->camerabin, "start-capture", 0);
-  gst_element_set_state (priv->camerabin, GST_STATE_PLAYING);
   priv->is_recording = TRUE;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]