[Bug 697872] plugin: fix name expansion in GST_PLUGIN_DEFINE() macro

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Apr 13 03:48:16 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=697872
  GStreamer | gstreamer (core) | git

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |t.i.m at zen.co.uk
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |1.1.1

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2013-04-13 10:48:11 UTC ---
I'm intruiged by your need to make the plugin name a macro, but it seems
reasonable enough to use G_STRINGIFY here.

Generally there shouldn't be any tabs anywhere in headers, but let's leave it
for someone to clean it all up some other day ;)

 commit f43b756f39fe8fbe90e56b699a80ca3d599a6b1e
 Author: Gwenole Beauchesne <gwenole.beauchesne at intel.com>
 Date:   Fri Apr 12 14:48:29 2013 +0200

    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 at intel.com>

    https://bugzilla.gnome.org/show_bug.cgi?id=697872

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list