summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/audio/audio.c
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2002-07-15 11:09:26 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2002-07-15 11:09:26 +0000
commit8deffcd6f9c5e5d635f4eb8aa528be7be866cf48 (patch)
treec3e4c18e180e254bc0e473329215272401db5b38 /gst-libs/gst/audio/audio.c
parent65a3d403916da3822eb634551c7f1b5ba066ad63 (diff)
downloadgst-plugins-bad-8deffcd6f9c5e5d635f4eb8aa528be7be866cf48.tar.gz
gst-plugins-bad-8deffcd6f9c5e5d635f4eb8aa528be7be866cf48.tar.bz2
gst-plugins-bad-8deffcd6f9c5e5d635f4eb8aa528be7be866cf48.zip
more useful info
Original commit message from CVS: more useful info
Diffstat (limited to 'gst-libs/gst/audio/audio.c')
-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