From d32724fb4113ebec58a7ff16f5dbfe40c159e7a3 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Wed, 14 Apr 2004 16:09:10 +0000 Subject: [PATCH] add debugging Original commit message from CVS: add debugging --- gst/audioconvert/gstaudioconvert.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/audioconvert/gstaudioconvert.c b/gst/audioconvert/gstaudioconvert.c index 62e4b9d222..6ca9c1c55a 100644 --- a/gst/audioconvert/gstaudioconvert.c +++ b/gst/audioconvert/gstaudioconvert.c @@ -242,7 +242,8 @@ gst_audio_convert_chain (GstPad * pad, GstData * data) if (!gst_pad_is_negotiated (this->sink)) { GST_ELEMENT_ERROR (this, CORE, NEGOTIATION, (NULL), - ("Sink pad not negotiated before chain function")); + ("Sink pad (connected to %s:%s) not negotiated before chain function", + GST_DEBUG_PAD_NAME (gst_pad_get_peer (this->sink)))); return; } if (!gst_pad_is_negotiated (this->src)) {