[cheese/camerabin2: 20/24] cheese-camera: image-done message is posted by camerabin2
- From: Oleksij Rempel <orempel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese/camerabin2: 20/24] cheese-camera: image-done message is posted by camerabin2
- Date: Sat, 24 Mar 2012 08:38:33 +0000 (UTC)
commit 039b8d1a2bf1c9946fb4daa683e4e1fb7e2cbdfd
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 faf63c9..66f734f 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]