tests/check/generic/libavcodec-locking.c: Print message name and not just number.

Original commit message from CVS:
* tests/check/generic/libavcodec-locking.c:
Print message name and not just number.
This commit is contained in:
Stefan Kost 2007-10-03 14:51:49 +00:00
parent 503ab7bf82
commit 033751e57e
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2007-10-03 Stefan Kost <ensonic@users.sf.net>
* tests/check/generic/libavcodec-locking.c:
Print message name and not just number.
2007-10-01 Wim Taymans <wim.taymans@gmail.com>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),

View file

@ -85,8 +85,8 @@ 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: