[farsight2/master] Remove useless function to re-add config data if the codec is exactly the same
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:23:02 PST 2008
---
gst/fsrtpconference/fs-rtp-codec-negotiation.c | 28 ------------------------
1 files changed, 0 insertions(+), 28 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-codec-negotiation.c b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
index 8f98138..17f1234 100644
--- a/gst/fsrtpconference/fs-rtp-codec-negotiation.c
+++ b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
@@ -687,34 +687,6 @@ finish_codec_negotiation (
GList *new_codec_associations)
{
int i;
- GList *item = NULL;
-
- /* Keep the codec config data if the codecs haven't changed */
-
- for (item = new_codec_associations;
- item;
- item = g_list_next (item))
- {
- CodecAssociation *newca = item->data;
- CodecAssociation *oldca = lookup_codec_association_by_codec (
- old_codec_associations, newca->codec);
-
- if (oldca)
- {
- GList *item2 = NULL;
-
- for (item2 = oldca->codec->optional_params;
- item2;
- item2 = g_list_next (item2))
- {
- FsCodecParameter *param = item2->data;
- if (codec_has_config_data_named (newca->codec, param->name))
- fs_codec_add_optional_parameter (newca->codec, param->name,
- param->value);
- }
- }
- }
-
/* Now, lets fill all of the PTs that were previously used in the session
* even if they are not currently used, so they can't be re-used
--
1.5.6.5
More information about the farsight-commits
mailing list