Commit 50179ec4 authored by Wim Taymans's avatar Wim Taymans Committed by Wim Taymans
Browse files

launch: also print leaked objects

Make the -T option also print the leaked objects
parent 7522e2cc
...@@ -740,7 +740,8 @@ main (int argc, char *argv[]) ...@@ -740,7 +740,8 @@ main (int argc, char *argv[])
if (!gst_alloc_trace_available ()) { if (!gst_alloc_trace_available ()) {
g_warning ("Trace not available (recompile with trace enabled)."); g_warning ("Trace not available (recompile with trace enabled).");
} }
gst_alloc_trace_set_flags_all (GST_ALLOC_TRACE_LIVE); gst_alloc_trace_set_flags_all (GST_ALLOC_TRACE_LIVE |
GST_ALLOC_TRACE_MEM_LIVE);
gst_alloc_trace_print_live (); gst_alloc_trace_print_live ();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment