summaryrefslogtreecommitdiffstats
path: root/ext/faac
diff options
context:
space:
mode:
authorDave Robillard <dave@drobilla.net>2009-05-26 19:10:44 -0400
committerDave Robillard <dave@drobilla.net>2009-05-26 19:10:44 -0400
commitb75a26657febaf86c4137b4d41c068926325e316 (patch)
tree65c161824169ac09bf8418244937aec6ab77a270 /ext/faac
parent4e1d3bba9c21cb8bbfe70ffed953a8385fb7314d (diff)
parent8f70498c898a65d0938e3e104e91662ff5b693c3 (diff)
downloadgst-plugins-bad-b75a26657febaf86c4137b4d41c068926325e316.tar.gz
gst-plugins-bad-b75a26657febaf86c4137b4d41c068926325e316.tar.bz2
gst-plugins-bad-b75a26657febaf86c4137b4d41c068926325e316.zip
Merge branch 'master' of git://anongit.freedesktop.org/gstreamer/gst-plugins-bad into fdo
Diffstat (limited to 'ext/faac')
-rw-r--r--ext/faac/gstfaac.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/ext/faac/gstfaac.c b/ext/faac/gstfaac.c
index 22484ffb..0dc8a42a 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;
@@ -798,7 +806,8 @@ gst_faac_change_state (GstElement * element, GstStateChange transition)
static gboolean
plugin_init (GstPlugin * plugin)
{
- return gst_element_register (plugin, "faac", GST_RANK_NONE, GST_TYPE_FAAC);
+ return gst_element_register (plugin, "faac", GST_RANK_SECONDARY,
+ GST_TYPE_FAAC);
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,