oggmux: Implement Preset interface

This commit is contained in:
Sebastian Dröge 2009-05-14 11:41:13 +02:00
parent 768cadf093
commit 2ea16837e7

View file

@ -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;
} }