From 8deffcd6f9c5e5d635f4eb8aa528be7be866cf48 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 15 Jul 2002 11:09:26 +0000 Subject: 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 3494d3c0..94bffff3 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 -- cgit v1.2.1