include header correctly; show me the name
authorThomas Vander Stichele <thomas@apestaart.org>
Thu, 13 Oct 2005 17:20:44 +0000 (17:20 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Thu, 13 Oct 2005 17:20:44 +0000 (17:20 +0000)
Original commit message from CVS:
include header correctly; show me the name

gst/glib-compat.h
gst/gstpad.c

index 568d3d8..fa439ed 100644 (file)
@@ -5,7 +5,7 @@
  * Copyright 2005 David Schleef <ds@schleef.org>
  */
 
-#include <gst_private.h> /* for g_warning */
+#include "gst_private.h" /* for g_warning */
 #include <glib.h>
 #if GLIB_CHECK_VERSION (2, 6, 0)
 #include <glib/gstdio.h>
index 953332a..0e97b96 100644 (file)
@@ -3524,8 +3524,9 @@ gst_pad_send_event (GstPad * pad, GstEvent * event)
       GST_CAT_DEBUG (GST_CAT_EVENT, "cleared flush flag");
       break;
     default:
-      GST_CAT_DEBUG (GST_CAT_EVENT, "have event type %d on pad %s:%s",
-          GST_EVENT_TYPE (event), GST_DEBUG_PAD_NAME (pad));
+      GST_CAT_DEBUG (GST_CAT_EVENT, "have event type %s on pad %s:%s",
+          gst_event_type_get_name (GST_EVENT_TYPE (event)),
+          GST_DEBUG_PAD_NAME (pad));
 
       if (GST_PAD_IS_FLUSHING (pad))
         goto flushing;