info: reset default threshold to LEVEL_DEFAULT not 0
authorTim-Philipp Müller <tim@centricular.com>
Thu, 11 Jan 2018 11:36:53 +0000 (11:36 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 11 Jan 2018 11:36:53 +0000 (11:36 +0000)
in set_threshold_from_string().

gst/gstinfo.c

index 8f723c9..0f8cb8a 100644 (file)
@@ -1990,7 +1990,7 @@ gst_debug_set_threshold_from_string (const gchar * list, gboolean reset)
   g_assert (list);
 
   if (reset)
-    gst_debug_set_default_threshold (0);
+    gst_debug_set_default_threshold (GST_LEVEL_DEFAULT);
 
   split = g_strsplit (list, ",", 0);