[farsight2/master] Accept remote codecs without a clock rate Old jingle did not provide it
Olivier Crête
olivier.crete at collabora.co.uk
Thu Jan 15 11:51:37 PST 2009
---
gst/fsrtpconference/fs-rtp-stream.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-stream.c b/gst/fsrtpconference/fs-rtp-stream.c
index f004508..b58fffa 100644
--- a/gst/fsrtpconference/fs-rtp-stream.c
+++ b/gst/fsrtpconference/fs-rtp-stream.c
@@ -605,7 +605,7 @@ fs_rtp_stream_set_remote_codecs (FsStream *stream,
codec->encoding_name);
goto error;
}
- if (codec->clock_rate == 0)
+ 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);
--
1.5.6.5
More information about the farsight-commits
mailing list