[farsight2/master] Emit the GObject::notify signal on current-send-codec when the current send codec is changed

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


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

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index cf4061b..6f23f15 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -2314,6 +2314,7 @@ _idle_emit_send_codec_changed (gpointer data)
   FsRtpSession *self = FS_RTP_SESSION (data);
 
   g_signal_emit_by_name (self, "send-codec-changed");
+  g_object_notify (G_OBJECT (self), "current-send-codec");
 
   FS_RTP_SESSION_LOCK (self);
   self->priv->send_codec_idle_id = 0;
@@ -2496,6 +2497,7 @@ fs_rtp_session_verify_send_codec_bin_locked (FsRtpSession *self, GError **error)
       self->priv->current_send_codec = codec;
       codec = NULL;
 
+      g_object_notify (G_OBJECT (self), "current-send-codec");
       g_signal_emit_by_name (self, "send-codec-changed");
     }
     else
-- 
1.5.6.5




More information about the farsight-commits mailing list