summaryrefslogtreecommitdiff
path: root/gst/camerabin2
diff options
context:
space:
mode:
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>2011-09-16 00:32:02 -0300
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>2011-09-16 00:52:53 -0300
commitb8f9c3b39d18e1b16bc167a0112df7a4de045ce6 (patch)
treebbc6bc74b7abd85e84a222fb663f851e6da23072 /gst/camerabin2
parent25c3ce9a7aeb80f500b8c6070c9ee2a1290ac0a9 (diff)
downloadgstreamer-plugins-bad-b8f9c3b39d18e1b16bc167a0112df7a4de045ce6.tar.gz
camerabin2: Adding 2 more log messages
Diffstat (limited to 'gst/camerabin2')
-rw-r--r--gst/camerabin2/gstcamerabin2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/camerabin2/gstcamerabin2.c b/gst/camerabin2/gstcamerabin2.c
index 812f1bfdd..d55dd5c2a 100644
--- a/gst/camerabin2/gstcamerabin2.c
+++ b/gst/camerabin2/gstcamerabin2.c
@@ -927,6 +927,8 @@ gst_camera_bin_handle_message (GstBin * bin, GstMessage * message)
if (gst_structure_has_name (structure, "GstMultiFileSink")) {
GST_CAMERA_BIN2_PROCESSING_DEC (GST_CAMERA_BIN2_CAST (bin));
filename = gst_structure_get_string (structure, "filename");
+ GST_DEBUG_OBJECT (bin, "Got file save message from multifilesink, "
+ "image %s has been saved", filename);
if (filename) {
gst_image_capture_bin_post_image_done (GST_CAMERA_BIN2_CAST (bin),
filename);
@@ -941,6 +943,8 @@ gst_camera_bin_handle_message (GstBin * bin, GstMessage * message)
gst_message_parse_warning (message, &err, &debug);
if (err->domain == GST_RESOURCE_ERROR) {
/* some capturing failed */
+ GST_WARNING_OBJECT (bin, "Capture failed, reason: %s - %s",
+ err->message, debug);
GST_CAMERA_BIN2_PROCESSING_DEC (GST_CAMERA_BIN2_CAST (bin));
}
}