[cheese] Do not switch mode when stopping video recording
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] Do not switch mode when stopping video recording
- Date: Mon, 3 Sep 2012 19:58:16 +0000 (UTC)
commit e7797dbee3b69c421d2258f43c97b756f9637216
Author: Raluca Elena Podiuc <ralucaelena1985 gmail com>
Date: Thu Jul 28 23:12:15 2011 +0300
Do not 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 8c8cda4..c58e06f 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -1025,7 +1025,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;
}
@@ -1054,7 +1053,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]