[farsight2/master] move extrainit before exchanging the codecs

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


---
 tests/check/rtp/conference.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/check/rtp/conference.c b/tests/check/rtp/conference.c
index 4f30034..6ed19d7 100644
--- a/tests/check/rtp/conference.c
+++ b/tests/check/rtp/conference.c
@@ -749,15 +749,15 @@ nway_test (int in_count, extra_init extrainit,
             G_CALLBACK (_src_pad_added), st);
       }
 
+  if (extrainit)
+    extrainit ();
+
   for (i = 1; i < count; i++)
   {
     struct SimpleTestStream *st = find_pointback_stream (dats[i], dats[0]);
     set_initial_codecs (dats[0], st);
   }
 
-  if (extrainit)
-    extrainit ();
-
   g_main_loop_run (loop);
 
   for (i = 0; i < count; i++)
-- 
1.5.6.5




More information about the farsight-commits mailing list