[cheese] cheese-camera: Emit signal when video is saved



commit c252cb64d36d23fde641a49cb7faa02b86536359
Author: Luciana Fujii Pontello <luciana fujii collabora co uk>
Date:   Tue May 3 18:40:24 2011 -0300

    cheese-camera: Emit signal when video is saved
    
    The signal VIDEO_SAVED was not being emitted when video was saved.

 libcheese/cheese-camera.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libcheese/cheese-camera.c b/libcheese/cheese-camera.c
index f17d4e2..2276f92 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -835,6 +835,7 @@ cheese_camera_stop_video_recording (CheeseCamera *camera)
   {
     g_signal_emit_by_name (priv->camerabin, "capture-stop", 0);
     g_object_set (priv->camerabin, "mode", MODE_IMAGE, NULL);
+    g_signal_emit (camera, camera_signals[VIDEO_SAVED], 0);
     priv->is_recording = FALSE;
   }
   else



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