[farsight2/master] Implement the getter for current-send-codec
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:20:26 PST 2008
---
gst/fsrtpconference/fs-rtp-session.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index a38b6e9..dc8d3a9 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -496,6 +496,11 @@ fs_rtp_session_get_property (GObject *object,
case PROP_CONFERENCE:
g_value_take_object (value, self->priv->conference);
break;
+ case PROP_CURRENT_SEND_CODEC:
+ FS_RTP_SESSION_LOCK (self);
+ g_value_set_boxed (value, self->priv->current_send_codec);
+ FS_RTP_SESSION_UNLOCK (self);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
--
1.5.6.5
More information about the farsight-commits
mailing list