[farsight2/master] Set new codecs before invalidating old ones

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:23:06 PST 2008


---
 gst/fsrtpconference/fs-rtp-session.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index ab56796..f67d03b 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -1981,14 +1981,14 @@ fs_rtp_session_update_codecs (FsRtpSession *session,
     codec_association_list_destroy (old_negotiated_codec_associations);
   }
 
-  if (is_new)
-    g_signal_emit_by_name (session->priv->conference->gstrtpbin,
-        "clear-pt-map");
-
   fs_rtp_session_distribute_recv_codecs (session, stream, remote_codecs);
 
   fs_rtp_session_verify_recv_codecs (session);
 
+  if (is_new)
+    g_signal_emit_by_name (session->priv->conference->gstrtpbin,
+        "clear-pt-map");
+
   fs_rtp_session_start_codec_param_gathering (session);
 
   if (has_remotes)
-- 
1.5.6.5




More information about the farsight-commits mailing list