[farsight2/master] Don't allow codecs to become unready after setting the remotes

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


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

diff --git a/tests/check/main/rtpcodecs.c b/tests/check/main/rtpcodecs.c
index d649081..d7db6cf 100644
--- a/tests/check/main/rtpcodecs.c
+++ b/tests/check/main/rtpcodecs.c
@@ -492,6 +492,8 @@ _bus_message_element (GstBus *bus, GstMessage *message,
 
   g_object_get (dat->session, "codecs-ready", &ready, NULL);
 
+  fail_unless (ready, "Codecs became unready after setting new remote codecs");
+
   fail_if (item == NULL, "The configuration parameter is no longer in the"
       " vorbis codec after the negotiation");
   fs_codec_list_destroy (codecs);
-- 
1.5.6.5




More information about the farsight-commits mailing list