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:03 +00:00
parent 4331d3880e
commit de65ce3486
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-03 Stefan Kost <ensonic@users.sf.net> 2007-10-03 Stefan Kost <ensonic@users.sf.net>
* libs/gst/base/gsttypefindhelper.c: * libs/gst/base/gsttypefindhelper.c:

View file

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