change a debug message to a g_warning().

Original commit message from CVS:
change a debug message to a g_warning().
This commit is contained in:
David Schleef 2003-09-18 22:37:09 +00:00
parent c4c3c998df
commit 90abdd2f23

View file

@ -3020,8 +3020,7 @@ gst_pad_send_event (GstPad *pad, GstEvent *event)
if (GST_RPAD_EVENTHANDLER (rpad)) if (GST_RPAD_EVENTHANDLER (rpad))
success = GST_RPAD_EVENTHANDLER (rpad) (GST_PAD_CAST (rpad), event); success = GST_RPAD_EVENTHANDLER (rpad) (GST_PAD_CAST (rpad), event);
else { else {
GST_CAT_DEBUG (GST_CAT_EVENT, "there's no event function for pad %s:%s", g_warning ("pad %s:%s has no event handler", GST_DEBUG_PAD_NAME (rpad));
GST_DEBUG_PAD_NAME (rpad));
gst_event_unref (event); gst_event_unref (event);
} }