mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-28 23:02:22 +00:00
Turned g_print back on and made the default in gst-launch 'silent' because that is all debugging info. Added 'verbos...
Original commit message from CVS: Turned g_print back on and made the default in gst-launch 'silent' because that is all debugging info. Added 'verbose' flag as inverse of silent.
This commit is contained in:
parent
0870d3eb87
commit
d7dbd44304
2 changed files with 4 additions and 3 deletions
|
@ -382,8 +382,7 @@ gst_object_default_deep_notify (GObject *object, GstObject *orig,
|
|||
str = g_strdup_value_contents (&value);
|
||||
}
|
||||
name = gst_object_get_path_string (orig);
|
||||
/* This should not be done as a default regardless. */
|
||||
/* g_print ("%s: %s = %s\n", name, pspec->name, str); */
|
||||
g_print ("%s: %s = %s\n", name, pspec->name, str);
|
||||
g_free (name);
|
||||
g_free (str);
|
||||
g_value_unset (&value);
|
||||
|
|
|
@ -187,13 +187,15 @@ int
|
|||
main(int argc, char *argv[])
|
||||
{
|
||||
/* options */
|
||||
gboolean silent = FALSE;
|
||||
gboolean silent = TRUE;
|
||||
gboolean no_fault = FALSE;
|
||||
gchar *savefile = NULL;
|
||||
gchar *exclude_args = NULL;
|
||||
struct poptOption options[] = {
|
||||
{"silent", 's', POPT_ARG_NONE|POPT_ARGFLAG_STRIP, &silent, 0,
|
||||
"do not output status information", NULL},
|
||||
{"verbose", 'v', POPT_ARG_NONE|POPT_ARGFLAG_STRIP, &silent, 1,
|
||||
"report various status information", NULL},
|
||||
{"exclude", 'X', POPT_ARG_STRING|POPT_ARGFLAG_STRIP, &exclude_args, 0,
|
||||
"do not output status information of TYPE", "TYPE1,TYPE2,..."},
|
||||
{"output", 'o', POPT_ARG_STRING|POPT_ARGFLAG_STRIP, &savefile, 0,
|
||||
|
|
Loading…
Reference in a new issue