mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
oggmux: Implement Preset interface
This commit is contained in:
parent
768cadf093
commit
2ea16837e7
1 changed files with 7 additions and 0 deletions
|
@ -149,10 +149,17 @@ gst_ogg_mux_get_type (void)
|
||||||
0,
|
0,
|
||||||
(GInstanceInitFunc) gst_ogg_mux_init,
|
(GInstanceInitFunc) gst_ogg_mux_init,
|
||||||
};
|
};
|
||||||
|
static const GInterfaceInfo preset_info = {
|
||||||
|
NULL,
|
||||||
|
NULL,
|
||||||
|
NULL
|
||||||
|
};
|
||||||
|
|
||||||
ogg_mux_type =
|
ogg_mux_type =
|
||||||
g_type_register_static (GST_TYPE_ELEMENT, "GstOggMux", &ogg_mux_info,
|
g_type_register_static (GST_TYPE_ELEMENT, "GstOggMux", &ogg_mux_info,
|
||||||
0);
|
0);
|
||||||
|
|
||||||
|
g_type_add_interface_static (ogg_mux_type, GST_TYPE_PRESET, &preset_info);
|
||||||
}
|
}
|
||||||
return ogg_mux_type;
|
return ogg_mux_type;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue