mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-21 09:53:47 +00:00
faac: Implement preset interface
This commit is contained in:
parent
e41401e317
commit
42d24ab5fb
1 changed files with 8 additions and 0 deletions
|
@ -118,9 +118,17 @@ gst_faac_get_type (void)
|
||||||
0,
|
0,
|
||||||
(GInstanceInitFunc) gst_faac_init,
|
(GInstanceInitFunc) gst_faac_init,
|
||||||
};
|
};
|
||||||
|
const GInterfaceInfo preset_interface_info = {
|
||||||
|
NULL, /* interface_init */
|
||||||
|
NULL, /* interface_finalize */
|
||||||
|
NULL /* interface_data */
|
||||||
|
};
|
||||||
|
|
||||||
gst_faac_type = g_type_register_static (GST_TYPE_ELEMENT,
|
gst_faac_type = g_type_register_static (GST_TYPE_ELEMENT,
|
||||||
"GstFaac", &gst_faac_info, 0);
|
"GstFaac", &gst_faac_info, 0);
|
||||||
|
|
||||||
|
g_type_add_interface_static (gst_faac_type, GST_TYPE_PRESET,
|
||||||
|
&preset_interface_info);
|
||||||
}
|
}
|
||||||
|
|
||||||
return gst_faac_type;
|
return gst_faac_type;
|
||||||
|
|
Loading…
Reference in a new issue