Skip to content
Snippets Groups Projects

Improve footprint by allowing element selection during static link stage -> gst-plugins-bad/sys

All threads resolved!
Files
66
+ 6
9
@@ -22,26 +22,23 @@
#include <config.h>
#endif
#include "gstbluezelements.h"
#include "gsta2dpsink.h"
#include "gstavdtpsink.h"
#include "gstavdtpsrc.h"
#include <string.h>
GST_DEBUG_CATEGORY (avdtp_debug);
static gboolean
plugin_init (GstPlugin * plugin)
{
GST_DEBUG_CATEGORY_INIT (avdtp_debug, "avdtp", 0, "avdtp utils");
gboolean ret = FALSE;
gst_element_register (plugin, "a2dpsink", GST_RANK_NONE, GST_TYPE_A2DP_SINK);
ret |= GST_ELEMENT_REGISTER (a2dpsink, plugin);
ret |= GST_ELEMENT_REGISTER (avdtpsink, plugin);
ret |= GST_ELEMENT_REGISTER (avdtpsrc, plugin);
gst_element_register (plugin, "avdtpsink",
GST_RANK_NONE, GST_TYPE_AVDTP_SINK);
gst_element_register (plugin, "avdtpsrc", GST_RANK_NONE, GST_TYPE_AVDTP_SRC);
return TRUE;
return ret;
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
Loading