[farsight2/master] Disable vorbis in fs2-gui :-(

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


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

diff --git a/tests/gui/fs2-gui.py b/tests/gui/fs2-gui.py
index 5dabe90..128cadc 100644
--- a/tests/gui/fs2-gui.py
+++ b/tests/gui/fs2-gui.py
@@ -367,7 +367,8 @@ class FsUISession:
                 farsight.Codec(farsight.CODEC_ID_ANY,
                                "H263",
                                farsight.MEDIA_TYPE_VIDEO,
-                               0)])
+                               0)
+                ])
         elif source.get_type() == farsight.MEDIA_TYPE_AUDIO:
             self.fssession.set_codec_preferences( [ \
                 farsight.Codec(farsight.CODEC_ID_ANY,
@@ -381,7 +382,13 @@ class FsUISession:
                 farsight.Codec(farsight.CODEC_ID_ANY,
                                "PCMU",
                                farsight.MEDIA_TYPE_AUDIO,
-                               0)])
+                               0),
+                # Sadly, vorbis is not currently compatible with live streaming :-(
+                farsight.Codec(farsight.CODEC_ID_DISABLE,
+                               "VORBIS",
+                               farsight.MEDIA_TYPE_AUDIO,
+                               0),
+                ])
 
         self.sourcepad = self.source.get_src_pad()
         self.sourcepad.link(self.fssession.get_property("sink-pad"))
-- 
1.5.6.5




More information about the farsight-commits mailing list