[farsight2/master] Keep the codec params when re-generating codecs
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:22:50 PST 2008
---
gst/fsrtpconference/fs-rtp-codec-negotiation.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-codec-negotiation.c b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
index 7632940..2afa20c 100644
--- a/gst/fsrtpconference/fs-rtp-codec-negotiation.c
+++ b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
@@ -506,10 +506,10 @@ create_local_codec_associations (
tmpca->codec->id, TRUE))
continue;
- ca = g_slice_new0 (CodecAssociation);
- ca->blueprint = bp;
- ca->codec = fs_codec_copy (bp->codec);
- ca->codec->id = tmpca->codec->id;
+ ca = codec_association_copy (tmpca);
+ ca->disable = FALSE;
+ ca->reserved = FALSE;
+ ca->recv_only = FALSE;
codec_associations = g_list_append (codec_associations, ca);
next = TRUE;
}
--
1.5.6.5
More information about the farsight-commits
mailing list