examples: camerabin2: Fix compile problem with debug disabled

This commit is contained in:
Thiago Santos 2011-03-29 13:46:09 -03:00
parent 7fd638bd0d
commit aa4df686eb

View file

@ -304,9 +304,11 @@ bus_callback (GstBus * bus, GstMessage * message, gpointer data)
const GstStructure *structure = gst_message_get_structure (message);
if (gst_structure_has_name (structure, "image-done")) {
#ifndef GST_DISABLE_GST_DEBUG
const gchar *fname = gst_structure_get_string (structure, "filename");
GST_DEBUG ("image done: %s", fname);
#endif
if (capture_count < capture_total) {
g_idle_add ((GSourceFunc) run_pipeline, NULL);
} else {