From 2ea16837e7567fd0b1748cf8731673b58368a150 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 14 May 2009 11:41:13 +0200 Subject: [PATCH] oggmux: Implement Preset interface --- ext/ogg/gstoggmux.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c index ee9f5cbbdc..83e9ec8a72 100644 --- a/ext/ogg/gstoggmux.c +++ b/ext/ogg/gstoggmux.c @@ -149,10 +149,17 @@ gst_ogg_mux_get_type (void) 0, (GInstanceInitFunc) gst_ogg_mux_init, }; + static const GInterfaceInfo preset_info = { + NULL, + NULL, + NULL + }; ogg_mux_type = g_type_register_static (GST_TYPE_ELEMENT, "GstOggMux", &ogg_mux_info, 0); + + g_type_add_interface_static (ogg_mux_type, GST_TYPE_PRESET, &preset_info); } return ogg_mux_type; }