summaryrefslogtreecommitdiffstats
path: root/ext/celt
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-05-04 12:37:31 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-05-04 12:37:31 +0200
commit44f0d31ba385ee644a8bd64efc64679c2e92e7eb (patch)
treea0cda0f088e08d195b27bdaa8c5127ab6e2adc2c /ext/celt
parentf3105eccd26d69ae022d1a9fc8c510339f8337f4 (diff)
downloadgst-plugins-bad-44f0d31ba385ee644a8bd64efc64679c2e92e7eb.tar.gz
gst-plugins-bad-44f0d31ba385ee644a8bd64efc64679c2e92e7eb.tar.bz2
gst-plugins-bad-44f0d31ba385ee644a8bd64efc64679c2e92e7eb.zip
celt: Implement preset interface
Diffstat (limited to 'ext/celt')
-rw-r--r--ext/celt/gstceltenc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/celt/gstceltenc.c b/ext/celt/gstceltenc.c
index 11b57e55..58ed7571 100644
--- a/ext/celt/gstceltenc.c
+++ b/ext/celt/gstceltenc.c
@@ -106,9 +106,16 @@ static void
gst_celt_enc_setup_interfaces (GType celtenc_type)
{
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,
&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");
}