From aab3a73ccd44b7167801c2e231f06ec84f8af05c Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Fri, 11 Nov 2011 09:58:30 -0300 Subject: [PATCH] camerabin2: Add one debug line about camerabin2 being idle --- gst/camerabin2/gstcamerabin2.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst/camerabin2/gstcamerabin2.c b/gst/camerabin2/gstcamerabin2.c index 16137ae287..8a02f447be 100644 --- a/gst/camerabin2/gstcamerabin2.c +++ b/gst/camerabin2/gstcamerabin2.c @@ -183,8 +183,10 @@ #define GST_CAMERA_BIN2_PROCESSING_DEC(c) \ { \ - if (g_atomic_int_dec_and_test (&c->processing_counter)) \ + if (g_atomic_int_dec_and_test (&c->processing_counter)) { \ g_object_notify (G_OBJECT (c), "idle"); \ + GST_DEBUG_OBJECT ((c), "Camerabin now idle"); \ + } \ GST_DEBUG_OBJECT ((c), "Processing counter decremented"); \ }