summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 94bffff3..83f17b09 100644
--- a/gst-libs/gst/audio/audio.c
+++ b/gst-libs/gst/audio/audio.c
@@ -40,7 +40,8 @@ gst_audio_frame_byte_size (GstPad* pad)
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));
return 0;
}