camerabin2: Add one debug line about camerabin2 being idle

This commit is contained in:
Thiago Santos 2011-11-11 09:58:30 -03:00
parent 54351a0129
commit aab3a73ccd

View file

@ -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"); \
}