camerabin: improve image capture debug
authorThiago Santos <thiago.sousa.santos@collabora.com>
Fri, 4 May 2012 20:10:17 +0000 (17:10 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Fri, 4 May 2012 22:54:51 +0000 (19:54 -0300)
gst/camerabin2/gstwrappercamerabinsrc.c

index 189d66840bc4f8cbcc81a76171c7e0b490e7ecb4..695c7adb30e9dae235f5d0b41eb8d5003c5fabe7 100644 (file)
@@ -253,8 +253,8 @@ gst_wrapper_camera_bin_src_imgsrc_probe (GstPad * pad, GstPadProbeInfo * info,
   GstBuffer *buffer = GST_BUFFER (info->data);
   GstPadProbeReturn ret = GST_PAD_PROBE_DROP;
 
-  GST_LOG_OBJECT (self, "Image probe, mode %d, capture count %d",
-      camerasrc->mode, self->image_capture_count);
+  GST_LOG_OBJECT (self, "Image probe, mode %d, capture count %d bufsize: %u",
+      camerasrc->mode, self->image_capture_count, gst_buffer_get_size (buffer));
 
   g_mutex_lock (&camerasrc->capturing_mutex);
   if (self->image_capture_count > 0) {