[farsight2/master] Add getters for the component count to the transmitters
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:22:28 PST 2008
---
transmitters/multicast/fs-multicast-transmitter.c | 3 +++
transmitters/rawudp/fs-rawudp-transmitter.c | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/transmitters/multicast/fs-multicast-transmitter.c b/transmitters/multicast/fs-multicast-transmitter.c
index 8e07586..05ccee6 100644
--- a/transmitters/multicast/fs-multicast-transmitter.c
+++ b/transmitters/multicast/fs-multicast-transmitter.c
@@ -429,6 +429,9 @@ fs_multicast_transmitter_get_property (GObject *object,
case PROP_GST_SRC:
g_value_set_object (value, self->priv->gst_src);
break;
+ case PROP_COMPONENTS:
+ g_value_set_uint (value, self->components);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
diff --git a/transmitters/rawudp/fs-rawudp-transmitter.c b/transmitters/rawudp/fs-rawudp-transmitter.c
index b640ddd..3141c13 100644
--- a/transmitters/rawudp/fs-rawudp-transmitter.c
+++ b/transmitters/rawudp/fs-rawudp-transmitter.c
@@ -446,6 +446,9 @@ fs_rawudp_transmitter_get_property (GObject *object,
case PROP_GST_SRC:
g_value_set_object (value, self->priv->gst_src);
break;
+ case PROP_COMPONENTS:
+ g_value_set_uint (value, self->components);
+ 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