mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
wavpack: Implement preset interface
This commit is contained in:
parent
70d1b6e1ae
commit
9bb965430f
1 changed files with 15 additions and 1 deletions
|
@ -197,7 +197,21 @@ gst_wavpack_enc_joint_stereo_mode_get_type (void)
|
|||
return qtype;
|
||||
}
|
||||
|
||||
GST_BOILERPLATE (GstWavpackEnc, gst_wavpack_enc, GstElement, GST_TYPE_ELEMENT);
|
||||
static void
|
||||
_do_init (GType object_type)
|
||||
{
|
||||
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 (GstWavpackEnc, gst_wavpack_enc, GstElement,
|
||||
GST_TYPE_ELEMENT, _do_init);
|
||||
|
||||
static void
|
||||
gst_wavpack_enc_base_init (gpointer klass)
|
||||
|
|
Loading…
Reference in a new issue