mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-22 14:28:36 +00:00
gstbin: Quieten a noisy FIXME about duration caching
Only print this FIXME once per run, at it's pretty annoying in lots of logs otherwise.
This commit is contained in:
parent
0528645f7c
commit
b3296183fc
10
gst/gstbin.c
10
gst/gstbin.c
|
@ -4347,7 +4347,17 @@ gst_bin_query (GstElement * element, GstQuery * query)
|
||||||
}
|
}
|
||||||
GST_OBJECT_UNLOCK (bin);
|
GST_OBJECT_UNLOCK (bin);
|
||||||
#else
|
#else
|
||||||
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
|
G_STMT_START {
|
||||||
|
/* Quieten this particularly annoying FIXME a bit: */
|
||||||
|
static gboolean printed_fixme = FALSE;
|
||||||
|
if (!printed_fixme) {
|
||||||
GST_FIXME ("implement duration caching in GstBin again");
|
GST_FIXME ("implement duration caching in GstBin again");
|
||||||
|
printed_fixme = TRUE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
G_STMT_END;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
/* no cached value found, iterate and collect durations */
|
/* no cached value found, iterate and collect durations */
|
||||||
fold_func = (GstIteratorFoldFunction) bin_query_duration_fold;
|
fold_func = (GstIteratorFoldFunction) bin_query_duration_fold;
|
||||||
|
|
Loading…
Reference in a new issue