[farsight2/master] Don't pass config data to pt map
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:22:58 PST 2008
---
gst/fsrtpconference/fs-rtp-session.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index 45e8a72..44a8ba8 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -1454,7 +1454,11 @@ fs_rtp_session_request_pt_map (FsRtpSession *session, guint pt)
session->priv->codec_associations, pt);
if (ca)
- caps = fs_codec_to_gst_caps (ca->codec);
+ {
+ FsCodec *tmpcodec = codec_copy_without_config (ca->codec);
+ caps = fs_codec_to_gst_caps (tmpcodec);
+ fs_codec_destroy (tmpcodec);
+ }
FS_RTP_SESSION_UNLOCK (session);
--
1.5.6.5
More information about the farsight-commits
mailing list