[cheese/camerabin2: 11/13] camerabin2: no need to switch mode when stopping video recording



commit 62727055971a391ac72440f841a7e273bb68dc35
Author: Raluca Elena Podiuc <ralucaelena1985 gmail com>
Date:   Thu Jul 28 23:12:15 2011 +0300

    camerabin2: no need to switch mode when stopping video recording

 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 163aebd..641136f 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -804,7 +804,6 @@ cheese_camera_force_stop_video_recording (gpointer data)
     g_signal_emit (camera, camera_signals[VIDEO_SAVED], 0);
 
     cheese_camera_stop (camera);
-    g_object_set (priv->camerabin, "mode", MODE_IMAGE, NULL);
     cheese_camera_play (camera);
     priv->is_recording = FALSE;
   }
@@ -828,7 +827,6 @@ cheese_camera_stop_video_recording (CheeseCamera *camera)
   if (state == GST_STATE_PLAYING)
   {
     g_signal_emit_by_name (priv->camerabin, "stop-capture", 0);
-    g_object_set (priv->camerabin, "mode", MODE_IMAGE, NULL);
     g_signal_emit (camera, camera_signals[VIDEO_SAVED], 0);
     priv->is_recording = FALSE;
   }



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