In order to properly export the gst_plugin_desc symbol
from DLLs in MSVC, it needs to be extern "C".
* The macro uses a define named PACKAGE for the #GstPluginDesc,source field.
*/
#define GST_PLUGIN_DEFINE(major,minor,name,description,init,version,license,package,origin) \
+G_BEGIN_DECLS \
GST_PLUGIN_EXPORT GstPluginDesc gst_plugin_desc = { \
major, \
minor, \
package, \
origin, \
GST_PADDING_INIT \
-};
+}; \
+G_END_DECLS
/**
* GST_PLUGIN_DEFINE_STATIC: