[farsight2/master] Stop using local codecs

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


---
 tests/gui/fs2-gui.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/tests/gui/fs2-gui.py b/tests/gui/fs2-gui.py
index 1b11e04..5b4f1de 100644
--- a/tests/gui/fs2-gui.py
+++ b/tests/gui/fs2-gui.py
@@ -455,8 +455,7 @@ class FsUIStream:
     def send_local_codecs(self):
         "Callback for the network object."
         codecs = self.session.fssession.get_property("negotiated-codecs")
-        if codecs is None or len(codecs) == 0:
-            codecs = self.session.fssession.get_property("local-codecs")
+        assert(codecs is not None and len(codecs) > 0)
         for codec in codecs:
             self.connect.send_codec(self.participant.id, self.id, codec)
         self.connect.send_codecs_done(self.participant.id, self.id)
-- 
1.5.6.5




More information about the farsight-commits mailing list