fix bug with --gst-fatal-warnings when exclude_args is NULL

Original commit message from CVS:
fix bug with --gst-fatal-warnings when exclude_args is NULL
This commit is contained in:
Benjamin Otte 2002-04-17 00:18:04 +00:00
parent 5f9f9bff5e
commit 8e5c223871

View file

@ -174,7 +174,7 @@ main(int argc, char *argv[])
if (!silent)
{
gchar **exclude_list = g_strsplit (exclude_args, ",", 0);
gchar **exclude_list = exclude_args ? g_strsplit (exclude_args, ",", 0) : NULL;
g_signal_connect (pipeline, "deep_notify", G_CALLBACK (property_change_callback), exclude_list);
}
g_signal_connect (pipeline, "error", G_CALLBACK (error_callback), NULL);