mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 23:58:17 +00:00
gst-launch: Don't activate tracing if not requested.
This commit is contained in:
parent
3879cc60b1
commit
4322a4b0db
1 changed files with 1 additions and 2 deletions
|
@ -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 ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue