Msvc fails at pre processing it and states that the
the use of "#" is invalid inside a macro.
#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);
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")