[farsight2/master] Allow remote codecs without a clock rate

Olivier Crête olivier.crete at collabora.co.uk
Fri Feb 20 11:45:27 PST 2009


---
 gst/fsrtpconference/fs-rtp-stream.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-stream.c b/gst/fsrtpconference/fs-rtp-stream.c
index b58fffa..66b8708 100644
--- a/gst/fsrtpconference/fs-rtp-stream.c
+++ b/gst/fsrtpconference/fs-rtp-stream.c
@@ -605,12 +605,6 @@ fs_rtp_stream_set_remote_codecs (FsStream *stream,
           codec->encoding_name);
       goto error;
     }
-    if (codec->id >= 96 && codec->clock_rate == 0)
-    {
-      g_set_error (error, FS_ERROR, FS_ERROR_INVALID_ARGUMENTS,
-          "The codec %s must have a non-0 clock rate", codec->encoding_name);
-      goto error;
-    }
     if (codec->media_type != media_type)
     {
       g_set_error (error, FS_ERROR, FS_ERROR_INVALID_ARGUMENTS,
-- 
1.5.6.5




More information about the farsight-commits mailing list