summaryrefslogtreecommitdiffstats
path: root/gst-libs
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/audio/audio.c3
1 files changed, 2 insertions, 1 deletions
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