GST_DEBUG_CATEGORY_EXTERN (equalizer_debug);
#define GST_CAT_DEFAULT equalizer_debug
-GST_BOILERPLATE (GstIirEqualizer10Bands, gst_iir_equalizer_10bands,
- 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 (GstIirEqualizer10Bands, gst_iir_equalizer_10bands,
+ GstIirEqualizer, GST_TYPE_IIR_EQUALIZER, _do_init);
/* equalizer implementation */
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 */