camerabin: Improve debug message about processing counter
authorThiago Santos <thiago.sousa.santos@collabora.com>
Thu, 2 Feb 2012 15:22:06 +0000 (12:22 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Mon, 6 Feb 2012 13:48:32 +0000 (10:48 -0300)
Mention on the logs how many capture operations might have been
lost

gst/camerabin/gstcamerabin.c

index 605780e40c720d0defc53c861bb504382558e964..7ebb0bb906a2de0a35fc3ca59fcdf0f6e13015e2 100644 (file)
@@ -3929,7 +3929,8 @@ gst_camerabin_change_state (GstElement * element, GstStateChange transition)
       }
 
       /* reset processing counter */
-      GST_DEBUG_OBJECT (camera, "Reset processing counter to 0");
+      GST_DEBUG_OBJECT (camera, "Reset processing counter from %d to 0",
+          camera->processing_counter);
       camera->processing_counter = 0;
       g_object_notify (G_OBJECT (camera), "idle");
       g_mutex_unlock (camera->capture_mutex);