mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
Define plugin license outside the call to PLUGIN_DEFINE
Msvc fails at pre processing it and states that the the use of "#" is invalid inside a macro.
This commit is contained in:
parent
56941cc920
commit
2ae66e2721
1 changed files with 7 additions and 6 deletions
|
@ -35,6 +35,12 @@
|
|||
#include "gstav.h"
|
||||
#include "gstavutils.h"
|
||||
|
||||
#ifdef GST_LIBAV_ENABLE_GPL
|
||||
#define LICENSE "GPL"
|
||||
#else
|
||||
#define LICENSE "LGPL"
|
||||
#endif
|
||||
|
||||
GST_DEBUG_CATEGORY (ffmpeg_debug);
|
||||
GST_DEBUG_CATEGORY (CAT_PERFORMANCE);
|
||||
|
||||
|
@ -176,10 +182,5 @@ GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
|
|||
GST_VERSION_MINOR,
|
||||
libav,
|
||||
"All libav codecs and formats (" LIBAV_SOURCE ")",
|
||||
plugin_init, PACKAGE_VERSION,
|
||||
#ifdef GST_LIBAV_ENABLE_GPL
|
||||
"GPL",
|
||||
#else
|
||||
"LGPL",
|
||||
#endif
|
||||
plugin_init, PACKAGE_VERSION, LICENSE,
|
||||
"libav", "http://www.libav.org")
|
||||
|
|
Loading…
Reference in a new issue