From 4322a4b0dba0ec01884c6a6be3b1141f16d8ca0b Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 23 Sep 2009 16:17:09 +0200 Subject: [PATCH] gst-launch: Don't activate tracing if not requested. --- tools/gst-launch.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/gst-launch.c b/tools/gst-launch.c index 105dfaa000..5d2c3d4060 100644 --- a/tools/gst-launch.c +++ b/tools/gst-launch.c @@ -709,8 +709,6 @@ main (int argc, char *argv[]) if (!g_thread_supported ()) g_thread_init (NULL); - gst_alloc_trace_set_flags_all (GST_ALLOC_TRACE_LIVE); - #ifndef GST_DISABLE_OPTION_PARSING ctx = g_option_context_new ("PIPELINE-DESCRIPTION"); g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE); @@ -741,6 +739,7 @@ main (int argc, char *argv[]) if (!gst_alloc_trace_available ()) { g_warning ("Trace not available (recompile with trace enabled)."); } + gst_alloc_trace_set_flags_all (GST_ALLOC_TRACE_LIVE); gst_alloc_trace_print_live (); }