more useful info

Original commit message from CVS:
more useful info
This commit is contained in:
Thomas Vander Stichele 2002-07-15 11:09:26 +00:00
parent 7d83fadc7d
commit 390d18891e

View file

@ -114,7 +114,8 @@ gst_audio_length (GstPad* pad, GstBuffer* buf)
if (caps == NULL)
{
/* ERROR: could not get caps of pad */
g_error ("gstaudio: warning: could not get caps of pad %p\n", pad);
g_warning ("gstaudio: warning: could not get caps of pad %p (%s)\n",
pad, GST_PAD_NAME (pad));
length = 0.0;
}
else