projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fa85f7
)
qtdemux: Only traverse/dump nodes if guaranteed to be used
author
Edward Hervey
<bilboed@bilboed.com>
Wed, 21 Jan 2015 14:30:33 +0000
(15:30 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Wed, 21 Jan 2015 14:32:01 +0000
(15:32 +0100)
__gst_debug_min is the "global" lowest debug level set. There's no
guarantee the qtdemux debug category is actually set at that level.
gst/isomp4/qtdemux_dump.c
patch
|
blob
|
history
diff --git
a/gst/isomp4/qtdemux_dump.c
b/gst/isomp4/qtdemux_dump.c
index
749dbcc
..
bebbfe1
100644
(file)
--- a/
gst/isomp4/qtdemux_dump.c
+++ b/
gst/isomp4/qtdemux_dump.c
@@
-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,