summaryrefslogtreecommitdiffstats
path: root/gst/equalizer/gstiirequalizer3bands.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/equalizer/gstiirequalizer3bands.c')
-rw-r--r--gst/equalizer/gstiirequalizer3bands.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/gst/equalizer/gstiirequalizer3bands.c b/gst/equalizer/gstiirequalizer3bands.c
index f1e11d50..5084dc1e 100644
--- a/gst/equalizer/gstiirequalizer3bands.c
+++ b/gst/equalizer/gstiirequalizer3bands.c
@@ -58,8 +58,17 @@ static void gst_iir_equalizer_3bands_get_property (GObject * object,
GST_DEBUG_CATEGORY_EXTERN (equalizer_debug);
#define GST_CAT_DEFAULT equalizer_debug
-GST_BOILERPLATE (GstIirEqualizer3Bands, gst_iir_equalizer_3bands,
- GstIirEqualizer, GST_TYPE_IIR_EQUALIZER);
+#define _do_init(bla) { \
+ const GInterfaceInfo preset_interface_info = { \
+ NULL, /* interface_init */ \
+ NULL, /* interface_finalize */ \
+ NULL /* interface_data */ \
+ }; \
+ g_type_add_interface_static(object_type, GST_TYPE_PRESET, &preset_interface_info); \
+ }
+
+GST_BOILERPLATE_FULL (GstIirEqualizer3Bands, gst_iir_equalizer_3bands,
+ GstIirEqualizer, GST_TYPE_IIR_EQUALIZER, _do_init);
/* equalizer implementation */