summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-12-17 17:13:22 +0100
committerSebastian Dröge <slomo@circular-chaos.org>2013-07-29 12:30:23 +0200
commit7c1664c3399c3d1cbf490afff09a8fb071ef71b1 (patch)
tree554a54a4ab8acdc9778efd3a619d4ff372c51b77
parent96f2a4bebee826748a156b47e923fb6bd899465d (diff)
downloadgstreamer-plugins-bad-7c1664c3399c3d1cbf490afff09a8fb071ef71b1.tar.gz
openjpegdec: Properties won't be needed in the decoder
-rw-r--r--ext/openjpeg/gstopenjpegdec.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/ext/openjpeg/gstopenjpegdec.c b/ext/openjpeg/gstopenjpegdec.c
index fb38d2777..e4e34d4cb 100644
--- a/ext/openjpeg/gstopenjpegdec.c
+++ b/ext/openjpeg/gstopenjpegdec.c
@@ -28,16 +28,6 @@
GST_DEBUG_CATEGORY_STATIC (gst_openjpeg_dec_debug);
#define GST_CAT_DEFAULT gst_openjpeg_dec_debug
-enum
-{
- PROP_0,
-};
-
-static void gst_openjpeg_dec_set_property (GObject * object, guint prop_id,
- const GValue * value, GParamSpec * pspec);
-static void gst_openjpeg_dec_get_property (GObject * object, guint prop_id,
- GValue * value, GParamSpec * pspec);
-
static gboolean gst_openjpeg_dec_start (GstVideoDecoder * decoder);
static gboolean gst_openjpeg_dec_stop (GstVideoDecoder * decoder);
static gboolean gst_openjpeg_dec_set_format (GstVideoDecoder * decoder,
@@ -82,17 +72,12 @@ G_DEFINE_TYPE (GstOpenJPEGDec, gst_openjpeg_dec, GST_TYPE_VIDEO_DECODER);
static void
gst_openjpeg_dec_class_init (GstOpenJPEGDecClass * klass)
{
- GObjectClass *gobject_class;
GstElementClass *element_class;
GstVideoDecoderClass *video_decoder_class;
- gobject_class = (GObjectClass *) klass;
element_class = (GstElementClass *) klass;
video_decoder_class = (GstVideoDecoderClass *) klass;
- gobject_class->set_property = gst_openjpeg_dec_set_property;
- gobject_class->get_property = gst_openjpeg_dec_get_property;
-
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_openjpeg_dec_src_template));
gst_element_class_add_pad_template (element_class,
@@ -127,32 +112,6 @@ gst_openjpeg_dec_init (GstOpenJPEGDec * self)
self->params.cp_limit_decoding = NO_LIMITATION;
}
-static void
-gst_openjpeg_dec_set_property (GObject * object, guint prop_id,
- const GValue * value, GParamSpec * pspec)
-{
- /* GstOpenJPEGDec *self = GST_OPENJPEG_DEC (object); */
-
- switch (prop_id) {
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
- break;
- }
-}
-
-static void
-gst_openjpeg_dec_get_property (GObject * object, guint prop_id, GValue * value,
- GParamSpec * pspec)
-{
- /* GstOpenJPEGDec *self = GST_OPENJPEG_DEC (object); */
-
- switch (prop_id) {
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
- break;
- }
-}
-
static gboolean
gst_openjpeg_dec_start (GstVideoDecoder * decoder)
{