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:
906f4c4
)
qtdemux_dump: Bypass even more code if debugging is disabled
author
Edward Hervey
<bilboed@bilboed.com>
Wed, 21 Jan 2015 16:36:26 +0000
(17:36 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Wed, 21 Jan 2015 16:36:26 +0000
(17:36 +0100)
And avoid using variables that won't exist when debugging is disabled
gst/isomp4/qtdemux_dump.c
patch
|
blob
|
history
diff --git
a/gst/isomp4/qtdemux_dump.c
b/gst/isomp4/qtdemux_dump.c
index
bebbfe1
..
a73812e
100644
(file)
--- a/
gst/isomp4/qtdemux_dump.c
+++ b/
gst/isomp4/qtdemux_dump.c
@@
-889,11
+889,13
@@
qtdemux_node_dump_foreach (GNode * node, gpointer qtdemux)
gboolean
qtdemux_node_dump (GstQTDemux * qtdemux, GNode * node)
{
+#ifndef GST_DISABLE_GST_DEBUG
/* 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,
qtdemux_node_dump_foreach, qtdemux);
+#endif
return TRUE;
}