[farsight2/master] Remove special case to keep codecs configs
Olivier Crête
olivier.crete at collabora.co.uk
Mon Mar 16 09:21:48 PDT 2009
---
gst/fsrtpconference/fs-rtp-codec-negotiation.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-codec-negotiation.c b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
index da83374..8925ece 100644
--- a/gst/fsrtpconference/fs-rtp-codec-negotiation.c
+++ b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
@@ -608,19 +608,6 @@ create_local_codec_associations (
FsCodec *codec = sdp_is_compat (codec_pref, oldca->codec, FALSE);
if (codec)
{
- GList *item = NULL;
-
- /* Keep the local configuration */
- for (item = oldca->codec->optional_params;
- item;
- item = g_list_next (item))
- {
- FsCodecParameter *param = item->data;
- if (codec_has_config_data_named (codec, param->name))
- fs_codec_add_optional_parameter (codec, param->name,
- param->value);
- }
-
ca = g_slice_new (CodecAssociation);
memcpy (ca, oldca, sizeof (CodecAssociation));
codec_remove_parameter (codec, SEND_PROFILE_ARG);
--
1.5.6.5
More information about the farsight-commits
mailing list