From 03dfe3fa9475e728b4cec88e32c21bf65cda8dd9 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 15 Jul 2002 11:09:26 +0000 Subject: [PATCH] more useful info Original commit message from CVS: more useful info --- gst-libs/gst/audio/audio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/audio/audio.c b/gst-libs/gst/audio/audio.c index 3494d3c0f6..94bffff31e 100644 --- a/gst-libs/gst/audio/audio.c +++ b/gst-libs/gst/audio/audio.c @@ -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