[farsight2/master] re-init global vars on every run in sendcodecs test

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 14:50:00 PST 2008


---
 tests/check/rtp/sendcodecs.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/tests/check/rtp/sendcodecs.c b/tests/check/rtp/sendcodecs.c
index 1cfb8eb..6377aeb 100644
--- a/tests/check/rtp/sendcodecs.c
+++ b/tests/check/rtp/sendcodecs.c
@@ -243,6 +243,13 @@ one_way (GCallback havedata_handler, gpointer data)
   GList *candidates = NULL;
   GstBus *bus = NULL;
 
+  method = FS_DTMF_METHOD_AUTO;
+  dtmf_id = 0;
+  digit = 0;
+  sending = FALSE;
+  received = FALSE;
+  ready_to_send = FALSE;
+
   loop = g_main_loop_new (NULL, FALSE);
 
   dat = setup_simple_conference (1, "fsrtpconference", "tester at 123445");
-- 
1.5.6.5




More information about the farsight-commits mailing list