[farsight2/master] Remove support for H263-N800 hack

Olivier Crête olivier.crete at collabora.co.uk
Thu Apr 9 16:06:30 PDT 2009


---
 gst/fsrtpconference/fs-rtp-conference.c      |    5 -----
 gst/fsrtpconference/fs-rtp-discover-codecs.c |    7 -------
 2 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-conference.c b/gst/fsrtpconference/fs-rtp-conference.c
index 605cf31..a55683b 100644
--- a/gst/fsrtpconference/fs-rtp-conference.c
+++ b/gst/fsrtpconference/fs-rtp-conference.c
@@ -789,11 +789,6 @@ fs_codec_to_gst_caps (const FsCodec *codec)
   {
     gchar *encoding_name = g_ascii_strup (codec->encoding_name, -1);
 
-    if (!g_ascii_strcasecmp (encoding_name, "H263-N800")) {
-      g_free (encoding_name);
-      encoding_name = g_strdup ("H263-1998");
-    }
-
     gst_structure_set (structure,
         "encoding-name", G_TYPE_STRING, encoding_name,
         NULL);
diff --git a/gst/fsrtpconference/fs-rtp-discover-codecs.c b/gst/fsrtpconference/fs-rtp-discover-codecs.c
index 1899bdb..693bc63 100644
--- a/gst/fsrtpconference/fs-rtp-discover-codecs.c
+++ b/gst/fsrtpconference/fs-rtp-discover-codecs.c
@@ -662,13 +662,6 @@ parse_codec_cap_list (GList *list, FsMediaType media_type)
     g_free (tmp);
     debug_pipeline (codec_blueprint->send_pipeline_factory);
     debug_pipeline (codec_blueprint->receive_pipeline_factory);
-
-    if (!g_ascii_strcasecmp (codec->encoding_name, "H263-1998")) {
-      codec = fs_codec_copy (codec);
-      g_free (codec->encoding_name);
-      codec->encoding_name = g_strdup ("H263-N800");
-      goto another;
-    }
   }
 }
 
-- 
1.5.6.5



More information about the farsight-commits mailing list