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



commit 1195ec83e3f48e3f1379a454fb2f5f2185b30295
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 4add17e..29fce50 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -1021,7 +1021,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;
   }
@@ -1050,7 +1049,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]