mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-14 11:25:39 +00:00
twolame: Implement preset interface
This commit is contained in:
parent
1dcdac7629
commit
d7709085b9
1 changed files with 14 additions and 1 deletions
|
@ -201,8 +201,21 @@ static gboolean gst_two_lame_setup (GstTwoLame * twolame);
|
||||||
static GstStateChangeReturn gst_two_lame_change_state (GstElement * element,
|
static GstStateChangeReturn gst_two_lame_change_state (GstElement * element,
|
||||||
GstStateChange transition);
|
GstStateChange transition);
|
||||||
|
|
||||||
|
static void
|
||||||
|
_do_init (GType object_type)
|
||||||
|
{
|
||||||
|
const GInterfaceInfo preset_interface_info = {
|
||||||
|
NULL, /* interface_init */
|
||||||
|
NULL, /* interface_finalize */
|
||||||
|
NULL /* interface_data */
|
||||||
|
};
|
||||||
|
|
||||||
GST_BOILERPLATE (GstTwoLame, gst_two_lame, GstElement, GST_TYPE_ELEMENT);
|
g_type_add_interface_static (object_type, GST_TYPE_PRESET,
|
||||||
|
&preset_interface_info);
|
||||||
|
}
|
||||||
|
|
||||||
|
GST_BOILERPLATE_FULL (GstTwoLame, gst_two_lame, GstElement, GST_TYPE_ELEMENT,
|
||||||
|
_do_init);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_two_lame_release_memory (GstTwoLame * twolame)
|
gst_two_lame_release_memory (GstTwoLame * twolame)
|
||||||
|
|
Loading…
Reference in a new issue