From 9da04cd6af2ee8c6d162aceb020517fd30a310a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 4 May 2009 12:43:42 +0200 Subject: [PATCH] flac: Implement preset interface --- ext/flac/gstflacenc.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c index 96c58e839..97b9f3db1 100644 --- a/ext/flac/gstflacenc.c +++ b/ext/flac/gstflacenc.c @@ -155,8 +155,15 @@ GST_DEBUG_CATEGORY_STATIC (flacenc_debug); NULL, \ NULL \ }; \ + static const GInterfaceInfo preset_info = { \ + NULL, \ + NULL, \ + NULL \ + }; \ g_type_add_interface_static (type, GST_TYPE_TAG_SETTER, \ &tag_setter_info); \ + g_type_add_interface_static (type, GST_TYPE_PRESET, \ + &preset_info); \ }G_STMT_END GST_BOILERPLATE_FULL (GstFlacEnc, gst_flac_enc, GstElement, GST_TYPE_ELEMENT, -- 2.34.1