plugin: fix name expansion for GST_PLUGIN_DEFINE macro
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 12 Apr 2013 12:48:29 +0000 (14:48 +0200)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 13 Apr 2013 10:40:26 +0000 (11:40 +0100)
commitf43b756f39fe8fbe90e56b699a80ca3d599a6b1e
tree12718175db0c96fb308aa052ea36c63e05e31f25
parentd2d2b890a5cf823ef546215128752182aad3982d
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
gst/gstplugin.h