summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2007-10-03 14:51:49 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2007-10-03 14:51:49 +0000
commit033751e57e46fb03beecba793f5bd3694749335e (patch)
tree099da38bb2bb705290563538acbb89a04f008cbf
parent503ab7bf82ddac983f385034fc3165f63d35f3e5 (diff)
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.
-rw-r--r--ChangeLog5
-rw-r--r--tests/check/generic/libavcodec-locking.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 530e2f6..d8ac06d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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),
diff --git a/tests/check/generic/libavcodec-locking.c b/tests/check/generic/libavcodec-locking.c
index 4e484f8..ae0124d 100644
--- a/tests/check/generic/libavcodec-locking.c
+++ b/tests/check/generic/libavcodec-locking.c
@@ -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: