diff options
author | Edward Hervey <bilboed@bilboed.com> | 2013-12-30 13:31:45 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2013-12-30 13:50:35 +0100 |
commit | e732b86b8ef0be2b6316ca4645962c93c7521a34 (patch) | |
tree | c300fcf7deaa9fc84c4d0d6b21e6af81cb4f0676 /gst/y4m | |
parent | ac40045d0d3c9bcd0421ea5052309602c1cb0bb6 (diff) |
y4mencode: Remove dead code
set/get property isn't used
Diffstat (limited to 'gst/y4m')
-rw-r--r-- | gst/y4m/gsty4mencode.c | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/gst/y4m/gsty4mencode.c b/gst/y4m/gsty4mencode.c index f0b304b8d..d98f91f16 100644 --- a/gst/y4m/gsty4mencode.c +++ b/gst/y4m/gsty4mencode.c @@ -74,11 +74,6 @@ GST_STATIC_PAD_TEMPLATE ("sink", ); -static void gst_y4m_encode_set_property (GObject * object, - guint prop_id, const GValue * value, GParamSpec * pspec); -static void gst_y4m_encode_get_property (GObject * object, - guint prop_id, GValue * value, GParamSpec * pspec); - static void gst_y4m_encode_reset (GstY4mEncode * filter); static gboolean gst_y4m_encode_sink_event (GstPad * pad, GstObject * parent, @@ -94,15 +89,10 @@ G_DEFINE_TYPE (GstY4mEncode, gst_y4m_encode, GST_TYPE_ELEMENT); static void gst_y4m_encode_class_init (GstY4mEncodeClass * klass) { - GObjectClass *gobject_class; GstElementClass *gstelement_class; - gobject_class = (GObjectClass *) klass; gstelement_class = (GstElementClass *) klass; - gobject_class->set_property = gst_y4m_encode_set_property; - gobject_class->get_property = gst_y4m_encode_get_property; - gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_y4m_encode_change_state); @@ -307,37 +297,6 @@ not_negotiated: } } -static void -gst_y4m_encode_set_property (GObject * object, guint prop_id, - const GValue * value, GParamSpec * pspec) -{ - GstY4mEncode G_GNUC_UNUSED *filter; - - g_return_if_fail (GST_IS_Y4M_ENCODE (object)); - filter = GST_Y4M_ENCODE (object); - - switch (prop_id) { - default: - break; - } -} - -static void -gst_y4m_encode_get_property (GObject * object, guint prop_id, GValue * value, - GParamSpec * pspec) -{ - GstY4mEncode G_GNUC_UNUSED *filter; - - g_return_if_fail (GST_IS_Y4M_ENCODE (object)); - filter = GST_Y4M_ENCODE (object); - - switch (prop_id) { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); - break; - } -} - static GstStateChangeReturn gst_y4m_encode_change_state (GstElement * element, GstStateChange transition) { |