gst: Change name parameter of GST_PLUGIN_DEFINE() to not take a string anymore
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 5 Apr 2012 12:17:16 +0000 (14:17 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 5 Apr 2012 12:17:16 +0000 (14:17 +0200)
This will be needed when we later add support for static linking
of plugins without introducing new API or changing existing API.

docs/pwg/building-boiler.xml
gst/gstplugin.h
plugins/elements/gstelements.c

index 49da6c8..537723f 100644 (file)
@@ -434,7 +434,7 @@ plugin_init (GstPlugin *plugin)
 GST_PLUGIN_DEFINE (
   GST_VERSION_MAJOR,
   GST_VERSION_MINOR,
-  "my_filter",
+  my_filter,
   "My filter plugin",
   plugin_init,
   VERSION,
index c946041..f1be63b 100644 (file)
@@ -260,7 +260,7 @@ G_BEGIN_DECLS \
 GST_PLUGIN_EXPORT GstPluginDesc gst_plugin_desc = {    \
   major,                                               \
   minor,                                               \
 name,                                                        \
#name,                                                        \
   (gchar *) description,                               \
   init,                                                        \
   version,                                             \
index 8d00729..00594b5 100644 (file)
@@ -93,6 +93,6 @@ plugin_init (GstPlugin * plugin)
 
 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
     GST_VERSION_MINOR,
-    "coreelements",
+    coreelements,
     "standard GStreamer elements",
     plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);