tests/check/pipelines/simple-launch-lines.c: Print message name and not just number.

Original commit message from CVS:
* tests/check/pipelines/simple-launch-lines.c:
Print message name and not just number.
This commit is contained in:
Stefan Kost 2007-10-03 14:51:59 +00:00
parent 5ba1ed3a21
commit fb05ac73ed
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/simple-launch-lines.c:
Print message name and not just number.
2007-10-02 Wim Taymans <wim.taymans@gmail.com>
* gst-libs/gst/audio/gstbaseaudiosink.c:

View file

@ -88,8 +88,9 @@ run_pipeline (GstElement * pipe, const 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);
}
done: