[farsight2/master] Re-send codecs if they have changed (once the initial negotiation is over) and use new operator

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:23:19 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 ce4fe15..84022bd 100644
--- a/tests/gui/fs2-gui.py
+++ b/tests/gui/fs2-gui.py
@@ -476,10 +476,9 @@ class FsUIStream:
         if not self.session.fssession.get_property("codecs-ready"):
             print "Codecs are not ready"
             return
-        self.send_codecs = False
         codecs = self.session.fssession.get_property("negotiated-codecs")
         assert(codecs is not None and len(codecs) > 0)
-        if (farsight.fs_codec_list_are_equal(codecs, self.last_codecs)):
+        if (codecs == self.last_codecs):
             return
         self.last_codecs = codecs
         for codec in codecs:
-- 
1.5.6.5




More information about the farsight-commits mailing list