From 9bd40e92ce4b4558be90f6f5a202812267149ebe Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Thu, 2 Feb 2012 12:22:06 -0300 Subject: [PATCH] camerabin: Improve debug message about processing counter Mention on the logs how many capture operations might have been lost --- gst/camerabin/gstcamerabin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/camerabin/gstcamerabin.c b/gst/camerabin/gstcamerabin.c index 605780e40c..7ebb0bb906 100644 --- a/gst/camerabin/gstcamerabin.c +++ b/gst/camerabin/gstcamerabin.c @@ -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); -- 2.34.1