aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-call-window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 171894adb..1d7b74dc5 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -743,7 +743,9 @@ disable_camera (EmpathyCallWindow *self)
DEBUG ("disable camera");
display_video_preview (self, FALSE);
- empathy_call_window_set_send_video (self, FALSE);
+
+ if (priv->camera_state == CAMERA_STATE_ON)
+ empathy_call_window_set_send_video (self, FALSE);
block_camera_control_signals (self);
gtk_toggle_tool_button_set_active (GTK_TOGGLE_TOOL_BUTTON (