[farsight2/master] Have the new codec too in current-recv-codecs-changed
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:22:16 PST 2008
---
gst/fsrtpconference/fs-rtp-stream.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-stream.c b/gst/fsrtpconference/fs-rtp-stream.c
index 5850ab8..7d19f0a 100644
--- a/gst/fsrtpconference/fs-rtp-stream.c
+++ b/gst/fsrtpconference/fs-rtp-stream.c
@@ -800,6 +800,8 @@ _substream_codec_changed (FsRtpSubStream *substream,
if (!codec)
return;
+ codeclist = g_list_prepend (NULL, codec);
+
FS_RTP_SESSION_LOCK (stream->priv->session);
for (substream_item = stream->priv->substreams;
@@ -849,8 +851,6 @@ _substream_codec_changed (FsRtpSubStream *substream,
}
fs_codec_list_destroy (codeclist);
-
- fs_codec_destroy (codec);
}
/**
--
1.5.6.5
More information about the farsight-commits
mailing list