From: <fe...@ke...> - 2010-03-08 19:21:42
|
Module: gst-openmax Branch: omap Commit: 58d04c3dd04274cb81f1e42db2b30ae76acdf437 URL: http://cgit.freedesktop.org/gstreamer/gst-openmax/commit/?id=58d04c3dd04274cb81f1e42db2b30ae76acdf437 Author: Felipe Contreras <fel...@no...> Date: Thu Mar 4 00:30:10 2010 +0200 base: remove unused set_property() No more writeable properties. Signed-off-by: Felipe Contreras <fel...@no...> --- omx/gstomx_base_sink.c | 19 ------------------- omx/gstomx_base_src.c | 19 ------------------- 2 files changed, 0 insertions(+), 38 deletions(-) diff --git a/omx/gstomx_base_sink.c b/omx/gstomx_base_sink.c index b042f33..68c7ea7 100644 --- a/omx/gstomx_base_sink.c +++ b/omx/gstomx_base_sink.c @@ -284,24 +284,6 @@ handle_event (GstBaseSink *gst_base, } static void -set_property (GObject *obj, - guint prop_id, - const GValue *value, - GParamSpec *pspec) -{ - GstOmxBaseSink *self; - - self = GST_OMX_BASE_SINK (obj); - - switch (prop_id) - { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (obj, prop_id, pspec); - break; - } -} - -static void get_property (GObject *obj, guint prop_id, GValue *value, @@ -349,7 +331,6 @@ type_class_init (gpointer g_class, /* Properties stuff */ { - gobject_class->set_property = set_property; gobject_class->get_property = get_property; g_object_class_install_property (gobject_class, ARG_COMPONENT_NAME, diff --git a/omx/gstomx_base_src.c b/omx/gstomx_base_src.c index bd25c6d..bae9f55 100644 --- a/omx/gstomx_base_src.c +++ b/omx/gstomx_base_src.c @@ -348,24 +348,6 @@ handle_event (GstBaseSrc *gst_base, } static void -set_property (GObject *obj, - guint prop_id, - const GValue *value, - GParamSpec *pspec) -{ - GstOmxBaseSrc *self; - - self = GST_OMX_BASE_SRC (obj); - - switch (prop_id) - { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (obj, prop_id, pspec); - break; - } -} - -static void get_property (GObject *obj, guint prop_id, GValue *value, @@ -410,7 +392,6 @@ type_class_init (gpointer g_class, /* Properties stuff */ { - gobject_class->set_property = set_property; gobject_class->get_property = get_property; g_object_class_install_property (gobject_class, ARG_COMPONENT_NAME, |