From d53883c35e642a32b67c96db13808a1fdfcfec58 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Wed, 3 Oct 2007 15:05:30 +0000 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ tests/check/pipelines/cleanup.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5555588..554988a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2007-10-03 Stefan Kost + * tests/check/pipelines/cleanup.c: + Print message name and not just number. + +2007-10-03 Stefan Kost + * docs/design/draft-tagreading.txt: Add some more thoughts. diff --git a/tests/check/pipelines/cleanup.c b/tests/check/pipelines/cleanup.c index eeafe90..1e2a0b2 100644 --- a/tests/check/pipelines/cleanup.c +++ b/tests/check/pipelines/cleanup.c @@ -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); -- 2.7.4