[cheese/camerabin2: 15/18] cheese-camera: image-done message is posted by camerabin2
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese/camerabin2: 15/18] cheese-camera: image-done message is posted by camerabin2
- Date: Tue, 6 Mar 2012 15:29:37 +0000 (UTC)
commit d5b5b48be1b31ff17b72370b55392c37469182e7
Author: Thiago Santos <thiago sousa santos collabora com>
Date: Fri Nov 25 20:35:59 2011 -0300
cheese-camera: image-done message is posted by camerabin2
Camerabin2 is the element to post the image-done message, not
the camera source.
libcheese/cheese-camera.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libcheese/cheese-camera.c b/libcheese/cheese-camera.c
index 60615e2..f4870c5 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -263,6 +263,10 @@ cheese_camera_bus_message_cb (GstBus *bus, GstMessage *message, CheeseCamera *ca
}
}
}
+ }
+ if (strcmp (GST_MESSAGE_SRC_NAME (message), "camerabin2") == 0)
+ {
+ structure = gst_message_get_structure (message);
if (strcmp (gst_structure_get_name (structure), "image-done") == 0)
{
const gchar *filename = gst_structure_get_string (structure, "filename");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]