more useful info
authorThomas Vander Stichele <thomas@apestaart.org>
Mon, 15 Jul 2002 11:09:26 +0000 (11:09 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Mon, 15 Jul 2002 11:09:26 +0000 (11:09 +0000)
Original commit message from CVS:
more useful info

gst-libs/gst/audio/audio.c

index 3494d3c..94bffff 100644 (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