[farsight2/master] Add more details to test errror

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:23:10 PST 2008


---
 tests/check/main/rtpconference.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tests/check/main/rtpconference.c b/tests/check/main/rtpconference.c
index c134cb8..057b62e 100644
--- a/tests/check/main/rtpconference.c
+++ b/tests/check/main/rtpconference.c
@@ -487,7 +487,8 @@ _src_pad_added (FsStream *self, GstPad *pad, FsCodec *codec, gpointer user_data)
       NULL);
 
   ts_fail_if (codec->encoding_name == NULL,
-      "Got invalid codec without an encoding_name");
+      "Got invalid codec without an encoding_name with id %u"
+      " and clock_rate %u", codec->id, codec->clock_rate);
 
   g_object_set_data (G_OBJECT (fakesink), "codec", codeccopy);
   g_object_weak_ref (G_OBJECT (fakesink),
-- 
1.5.6.5




More information about the farsight-commits mailing list