mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-07 20:31:20 +00:00
plugin: fix name expansion for GST_PLUGIN_DEFINE macro
Make GST_PLUGIN_DEFINE use G_STRINGIFY() to convert the name argument into a meaningful string. The advantage of this is that `name' can be expanded from other macros defined in the plug-in element. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> https://bugzilla.gnome.org/show_bug.cgi?id=697872
This commit is contained in:
parent
d2d2b890a5
commit
f43b756f39
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ G_BEGIN_DECLS \
|
|||
GST_PLUGIN_EXPORT GstPluginDesc gst_plugin_desc = { \
|
||||
major, \
|
||||
minor, \
|
||||
#name, \
|
||||
G_STRINGIFY(name), \
|
||||
(gchar *) description, \
|
||||
init, \
|
||||
version, \
|
||||
|
|
Loading…
Reference in a new issue