tests/check/pipelines/simple-launch-lines.c: Print message name and not just number.
authorStefan Kost <ensonic@users.sourceforge.net>
Wed, 3 Oct 2007 14:51:03 +0000 (14:51 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Wed, 3 Oct 2007 14:51:03 +0000 (14:51 +0000)
Original commit message from CVS:
* tests/check/pipelines/simple-launch-lines.c:
Print message name and not just number.

ChangeLog
tests/check/pipelines/simple-launch-lines.c

index 3c0029b..704f309 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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>
+
        * libs/gst/base/gsttypefindhelper.c:
          Speedup typefinding. This is work in progress (see #459862).
 
index fc3a421..83c1358 100644 (file)
@@ -81,8 +81,9 @@ run_pipeline (GstElement * pipeline, gchar * descr,
     } else if (rmessage & message_types) {
       continue;
     }
-    g_critical ("Unexpected message received of type %d, looking for %d: %s",
-        rmessage, tmessage, descr);
+    g_critical
+        ("Unexpected message received of type %d, '%s', looking for %d: %s",
+        revent, gst_message_type_get_name (revent), tevent, descr);
   }
 
 done: