diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2007-12-10 14:03:32 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2007-12-10 14:03:32 +0000 |
commit | f4b08ff0393b431a9752023bab2509e75de022f8 (patch) | |
tree | 95f11c272f055ec76f39f4d9f7f295c078b41b02 /gst/rtpmanager/rtpsource.c | |
parent | 582f643ee4947de757bd8b429b521a939959a0c1 (diff) | |
download | gst-plugins-bad-f4b08ff0393b431a9752023bab2509e75de022f8.tar.gz gst-plugins-bad-f4b08ff0393b431a9752023bab2509e75de022f8.tar.bz2 gst-plugins-bad-f4b08ff0393b431a9752023bab2509e75de022f8.zip |
gst/rtpmanager/gstrtpbin.*: Expose SDES items as properties and configure the session managers with them.
Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (create_session),
(gst_rtp_bin_class_init), (gst_rtp_bin_init), (sdes_type_to_name),
(gst_rtp_bin_set_sdes_string), (gst_rtp_bin_get_sdes_string),
(gst_rtp_bin_set_property), (gst_rtp_bin_get_property):
* gst/rtpmanager/gstrtpbin.h:
Expose SDES items as properties and configure the session managers with
them.
* gst/rtpmanager/rtpsource.c: (rtp_source_class_init),
(rtp_source_set_property):
Fix SSRC property.
Diffstat (limited to 'gst/rtpmanager/rtpsource.c')
-rw-r--r-- | gst/rtpmanager/rtpsource.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gst/rtpmanager/rtpsource.c b/gst/rtpmanager/rtpsource.c index 8374036f..b8150fcb 100644 --- a/gst/rtpmanager/rtpsource.c +++ b/gst/rtpmanager/rtpsource.c @@ -89,7 +89,7 @@ rtp_source_class_init (RTPSourceClass * klass) g_object_class_install_property (gobject_class, PROP_SSRC, g_param_spec_uint ("ssrc", "SSRC", "The SSRC of this source", 0, G_MAXUINT, - DEFAULT_SSRC, G_PARAM_READABLE | G_PARAM_CONSTRUCT_ONLY)); + DEFAULT_SSRC, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (gobject_class, PROP_IS_CSRC, g_param_spec_boolean ("is-csrc", "Is CSRC", @@ -190,6 +190,9 @@ rtp_source_set_property (GObject * object, guint prop_id, src = RTP_SOURCE (object); switch (prop_id) { + case PROP_SSRC: + src->ssrc = g_value_get_uint (value); + break; case PROP_SDES_CNAME: rtp_source_set_sdes_string (src, GST_RTCP_SDES_CNAME, g_value_get_string (value)); |