mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
qtdemux: Only traverse/dump nodes if guaranteed to be used
__gst_debug_min is the "global" lowest debug level set. There's no guarantee the qtdemux debug category is actually set at that level.
This commit is contained in:
parent
9fa85f72e1
commit
906f4c4360
1 changed files with 2 additions and 1 deletions
|
@ -889,7 +889,8 @@ qtdemux_node_dump_foreach (GNode * node, gpointer qtdemux)
|
|||
gboolean
|
||||
qtdemux_node_dump (GstQTDemux * qtdemux, GNode * node)
|
||||
{
|
||||
if (_gst_debug_min < GST_LEVEL_LOG)
|
||||
/* Only traverse/dump if we know it will be outputted in the end */
|
||||
if (qtdemux_debug->threshold < GST_LEVEL_LOG)
|
||||
return TRUE;
|
||||
|
||||
g_node_traverse (node, G_PRE_ORDER, G_TRAVERSE_ALL, -1,
|
||||
|
|
Loading…
Reference in a new issue