summaryrefslogtreecommitdiffstats
path: root/ext/faac
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-05-04 12:30:26 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-05-04 12:30:26 +0200
commit42d24ab5fbab1fc9cde6914445a1876a92413966 (patch)
tree3a6a636ffdfb1cacd0fb70d837db9c7ce96ff642 /ext/faac
parente41401e3174b80b2e2ce4febf99f15e766dfc5c6 (diff)
downloadgst-plugins-bad-42d24ab5fbab1fc9cde6914445a1876a92413966.tar.gz
gst-plugins-bad-42d24ab5fbab1fc9cde6914445a1876a92413966.tar.bz2
gst-plugins-bad-42d24ab5fbab1fc9cde6914445a1876a92413966.zip
faac: Implement preset interface
Diffstat (limited to 'ext/faac')
-rw-r--r--ext/faac/gstfaac.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/faac/gstfaac.c b/ext/faac/gstfaac.c
index 22484ffb..638e65b1 100644
--- a/ext/faac/gstfaac.c
+++ b/ext/faac/gstfaac.c
@@ -118,9 +118,17 @@ gst_faac_get_type (void)
0,
(GInstanceInitFunc) gst_faac_init,
};
+ const GInterfaceInfo preset_interface_info = {
+ NULL, /* interface_init */
+ NULL, /* interface_finalize */
+ NULL /* interface_data */
+ };
gst_faac_type = g_type_register_static (GST_TYPE_ELEMENT,
"GstFaac", &gst_faac_info, 0);
+
+ g_type_add_interface_static (gst_faac_type, GST_TYPE_PRESET,
+ &preset_interface_info);
}
return gst_faac_type;