tests/check/pipelines/cleanup.c: Print message name and not just number.

Original commit message from CVS:
* tests/check/pipelines/cleanup.c:
Print message name and not just number.
This commit is contained in:
Stefan Kost 2007-10-03 15:05:30 +00:00
parent f8b2b6c70d
commit d53883c35e
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2007-10-03 Stefan Kost <ensonic@users.sf.net>
* tests/check/pipelines/cleanup.c:
Print message name and not just number.
2007-10-03 Stefan Kost <ensonic@users.sf.net>
* docs/design/draft-tagreading.txt:

View file

@ -66,8 +66,9 @@ run_pipeline (GstElement * pipeline, gchar * descr,
} else if (revent & events) {
continue;
}
g_critical ("Unexpected message received of type %d, looking for %d: %s",
revent, tevent, descr);
g_critical
("Unexpected message received of type %d, '%s', looking for %d: %s",
revent, gst_message_type_get_name (revent), tevent, descr);
}
gst_element_set_state (pipeline, GST_STATE_NULL);