[farsight2/master] Don't re-request config params from codecs that already have them
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:22:51 PST 2008
---
gst/fsrtpconference/fs-rtp-codec-negotiation.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-codec-negotiation.c b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
index 2afa20c..2ae56e2 100644
--- a/gst/fsrtpconference/fs-rtp-codec-negotiation.c
+++ b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
@@ -541,10 +541,16 @@ create_local_codec_associations (
{
CodecAssociation *ca = lca_e->data;
+ if (ca->codec->config_params)
+ {
+ ca->need_config = FALSE;
+ continue;
+ }
+
if (ca->reserved || ca->disable)
ca->need_config = FALSE;
else
- ca->need_config= codec_needs_config (ca->codec);
+ ca->need_config = codec_needs_config (ca->codec);
}
--
1.5.6.5
More information about the farsight-commits
mailing list