flac: Implement preset interface
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 4 May 2009 10:43:42 +0000 (12:43 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 4 May 2009 10:43:42 +0000 (12:43 +0200)
ext/flac/gstflacenc.c

index 96c58e839b307d67be470d06fb4ec9b35e5e8032..97b9f3db191f0f97f5529021ad5057af9d91b874 100644 (file)
@@ -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,