projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2d2b89
)
plugin: fix name expansion for GST_PLUGIN_DEFINE macro
author
Gwenole Beauchesne
<gwenole.beauchesne@intel.com>
Fri, 12 Apr 2013 12:48:29 +0000
(14:48 +0200)
committer
Tim-Philipp Müller
<tim@centricular.net>
Sat, 13 Apr 2013 10:40:26 +0000
(11:40 +0100)
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
gst/gstplugin.h
patch
|
blob
|
history
diff --git
a/gst/gstplugin.h
b/gst/gstplugin.h
index
d494915
..
f9d3b6d
100644
(file)
--- a/
gst/gstplugin.h
+++ b/
gst/gstplugin.h
@@
-218,7
+218,7
@@
G_BEGIN_DECLS \
GST_PLUGIN_EXPORT GstPluginDesc gst_plugin_desc = { \
major, \
minor, \
-
#name,
\
+
G_STRINGIFY(name),
\
(gchar *) description, \
init, \
version, \