From aca083c56d1328d1c36c7190036d7ff6cd2e3a2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 5 Apr 2012 14:17:16 +0200 Subject: [PATCH] gst: Change name parameter of GST_PLUGIN_DEFINE() to not take a string anymore 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 | 2 +- gst/gstplugin.h | 2 +- plugins/elements/gstelements.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/pwg/building-boiler.xml b/docs/pwg/building-boiler.xml index 49da6c86fd..537723fe9b 100644 --- a/docs/pwg/building-boiler.xml +++ b/docs/pwg/building-boiler.xml @@ -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, diff --git a/gst/gstplugin.h b/gst/gstplugin.h index c946041a4b..f1be63bd6f 100644 --- a/gst/gstplugin.h +++ b/gst/gstplugin.h @@ -260,7 +260,7 @@ G_BEGIN_DECLS \ GST_PLUGIN_EXPORT GstPluginDesc gst_plugin_desc = { \ major, \ minor, \ - name, \ + #name, \ (gchar *) description, \ init, \ version, \ diff --git a/plugins/elements/gstelements.c b/plugins/elements/gstelements.c index 8d00729c0a..00594b551a 100644 --- a/plugins/elements/gstelements.c +++ b/plugins/elements/gstelements.c @@ -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);