[cheese/camerabin2: 16/24] camerabin2: no need to switch mode when stopping video recording



commit 85a57a64e4dc57c1785624719f739841e6880c7b
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 f12bf6c..39581b3 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]