Split plugin into features including
dynamic types which can be indiviually
registered during a static build.
More details here:
https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/876>
#define gst_au_parse_parent_class parent_class
G_DEFINE_TYPE (GstAuParse, gst_au_parse, GST_TYPE_ELEMENT);
+GST_ELEMENT_REGISTER_DEFINE (auparse, "auparse", GST_RANK_SECONDARY,
+ GST_TYPE_AU_PARSE);
static void
gst_au_parse_class_init (GstAuParseClass * klass)
static gboolean
plugin_init (GstPlugin * plugin)
{
- if (!gst_element_register (plugin, "auparse", GST_RANK_SECONDARY,
- GST_TYPE_AU_PARSE)) {
+ if (!GST_ELEMENT_REGISTER (auparse, plugin))
return FALSE;
- }
return TRUE;
}
GType gst_au_parse_get_type (void);
+GST_ELEMENT_REGISTER_DECLARE (auparse);
+
G_END_DECLS
#endif /* __GST_AU_PARSE_H__ */