[farsight2/master] Emit notify signal when negotiated-codecs is changed

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


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

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index a8f0acd..cb8c9d1 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -1680,7 +1680,10 @@ fs_rtp_session_negotiate_codecs (FsRtpSession *session,
     FS_RTP_SESSION_UNLOCK (session);
 
     if (is_new)
+    {
       g_signal_emit_by_name (session, "new-negotiated-codecs");
+      g_object_notify (G_OBJECT (session), "negotiated-codecs");
+    }
 
     return TRUE;
   } else {
-- 
1.5.6.5




More information about the farsight-commits mailing list