[Gstreamer-openmax] [PATCH 5/5] base: remove unused set_property()
Felipe Contreras
felipe.contreras at nokia.com
Wed Mar 3 14:51:15 PST 2010
No more writeable properties.
Signed-off-by: Felipe Contreras <felipe.contreras at nokia.com>
---
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,
--
1.7.0.1
More information about the Gstreamer-openmax
mailing list