mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
examples: camerabin2: Fix compile problem with debug disabled
This commit is contained in:
parent
7fd638bd0d
commit
aa4df686eb
1 changed files with 2 additions and 0 deletions
|
@ -304,9 +304,11 @@ bus_callback (GstBus * bus, GstMessage * message, gpointer data)
|
||||||
const GstStructure *structure = gst_message_get_structure (message);
|
const GstStructure *structure = gst_message_get_structure (message);
|
||||||
|
|
||||||
if (gst_structure_has_name (structure, "image-done")) {
|
if (gst_structure_has_name (structure, "image-done")) {
|
||||||
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
const gchar *fname = gst_structure_get_string (structure, "filename");
|
const gchar *fname = gst_structure_get_string (structure, "filename");
|
||||||
|
|
||||||
GST_DEBUG ("image done: %s", fname);
|
GST_DEBUG ("image done: %s", fname);
|
||||||
|
#endif
|
||||||
if (capture_count < capture_total) {
|
if (capture_count < capture_total) {
|
||||||
g_idle_add ((GSourceFunc) run_pipeline, NULL);
|
g_idle_add ((GSourceFunc) run_pipeline, NULL);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue