mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:46:13 +00:00
celt: Implement preset interface
This commit is contained in:
parent
f3105eccd2
commit
44f0d31ba3
1 changed files with 7 additions and 0 deletions
|
@ -106,9 +106,16 @@ static void
|
||||||
gst_celt_enc_setup_interfaces (GType celtenc_type)
|
gst_celt_enc_setup_interfaces (GType celtenc_type)
|
||||||
{
|
{
|
||||||
static const GInterfaceInfo tag_setter_info = { NULL, NULL, NULL };
|
static const GInterfaceInfo tag_setter_info = { NULL, NULL, NULL };
|
||||||
|
const GInterfaceInfo preset_interface_info = {
|
||||||
|
NULL, /* interface_init */
|
||||||
|
NULL, /* interface_finalize */
|
||||||
|
NULL /* interface_data */
|
||||||
|
};
|
||||||
|
|
||||||
g_type_add_interface_static (celtenc_type, GST_TYPE_TAG_SETTER,
|
g_type_add_interface_static (celtenc_type, GST_TYPE_TAG_SETTER,
|
||||||
&tag_setter_info);
|
&tag_setter_info);
|
||||||
|
g_type_add_interface_static (celtenc_type, GST_TYPE_PRESET,
|
||||||
|
&preset_interface_info);
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_INIT (celtenc_debug, "celtenc", 0, "Celt encoder");
|
GST_DEBUG_CATEGORY_INIT (celtenc_debug, "celtenc", 0, "Celt encoder");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue