[farsight2/master] Its safe not to override associate-on-source
Olivier Crête
olivier.crete at collabora.co.uk
Thu Dec 18 14:50:46 PST 2008
---
gst-libs/gst/farsight/fs-stream-transmitter.c | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/gst-libs/gst/farsight/fs-stream-transmitter.c b/gst-libs/gst/farsight/fs-stream-transmitter.c
index 5999163..c5da5f3 100644
--- a/gst-libs/gst/farsight/fs-stream-transmitter.c
+++ b/gst-libs/gst/farsight/fs-stream-transmitter.c
@@ -327,10 +327,18 @@ fs_stream_transmitter_set_property (GObject *object,
const GValue *value,
GParamSpec *pspec)
{
- GST_WARNING ("Subclass %s of FsStreamTransmitter does not override the %s"
- " property setter",
- G_OBJECT_TYPE_NAME(object),
- g_param_spec_get_name (pspec));
+ switch (prop_id)
+ {
+ /* These properties, we can safely not override */
+ case PROP_ASSOCIATE_ON_SOURCE:
+ break;
+ default:
+ GST_WARNING ("Subclass %s of FsStreamTransmitter does not override the %s"
+ " property setter",
+ G_OBJECT_TYPE_NAME(object),
+ g_param_spec_get_name (pspec));
+ break;
+ }
}
--
1.5.6.5
More information about the farsight-commits
mailing list