[farsight2/master] Emit the notify signal when the value of current-recv-codecs changes
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:21:53 PST 2008
---
gst-libs/gst/farsight/fs-stream.c | 8 ++++----
gst/fsrtpconference/fs-rtp-stream.c | 1 +
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/gst-libs/gst/farsight/fs-stream.c b/gst-libs/gst/farsight/fs-stream.c
index acd8c3c..89fb517 100644
--- a/gst-libs/gst/farsight/fs-stream.c
+++ b/gst-libs/gst/farsight/fs-stream.c
@@ -146,12 +146,12 @@ fs_stream_class_init (FsStreamClass *klass)
G_PARAM_READABLE));
/**
- * FsStream:current-recv-codec:
+ * FsStream:current-recv-codecs:
*
* This is the list of codecs that have been received by this stream.
- * The user must free the list if fs_codec_list_destroy()
- * The #FsStream::recv-codecs-changed signal is emitted when the value of
- * this property changes.
+ * The user must free the list if fs_codec_list_destroy().
+ * The #GObject::notify signal is emitted when the value of this property may
+ * have changed.
*
*/
g_object_class_install_property (gobject_class,
diff --git a/gst/fsrtpconference/fs-rtp-stream.c b/gst/fsrtpconference/fs-rtp-stream.c
index c59ba30..d0618de 100644
--- a/gst/fsrtpconference/fs-rtp-stream.c
+++ b/gst/fsrtpconference/fs-rtp-stream.c
@@ -738,6 +738,7 @@ _idle_emit_recv_codecs_changed (gpointer data)
{
FsRtpStream *stream = FS_RTP_STREAM (data);
+ g_object_notify (G_OBJECT (stream), "current-recv-codecs");
g_signal_emit_by_name (stream, "recv-codecs-changed");
FS_RTP_SESSION_LOCK (stream->priv->session);
--
1.5.6.5
More information about the farsight-commits
mailing list