[farsight2/master] Invalidate substream codecs based on the config params too
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:22:55 PST 2008
---
gst/fsrtpconference/fs-rtp-substream.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-substream.c b/gst/fsrtpconference/fs-rtp-substream.c
index af148e0..a31c988 100644
--- a/gst/fsrtpconference/fs-rtp-substream.c
+++ b/gst/fsrtpconference/fs-rtp-substream.c
@@ -1024,7 +1024,8 @@ fs_rtp_sub_stream_invalidate_codec_locked (FsRtpSubStream *substream, gint pt,
if (substream->priv->pt == pt &&
substream->priv->codec &&
!substream->priv->blocking_id &&
- (!codec || !fs_codec_are_equal (substream->priv->codec, codec)))
+ (!codec ||
+ !fs_codec_are_equal_including_config (substream->priv->codec, codec)))
substream->priv->blocking_id = gst_pad_add_data_probe (
substream->priv->rtpbin_pad,
G_CALLBACK (_rtpbin_pad_have_data_callback), substream);
--
1.5.6.5
More information about the farsight-commits
mailing list