Skip to content
Snippets Groups Projects
Commit 59c54c7a authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

cdio: work around cdio headers re-defining VERSION and PACKAGE_VERSION

Thanks guys. Fixes plugin version in gst-inspect-1.0 and docs
introspection/updating for this plugin.
parent 45815d7e
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,17 @@
#include "config.h"
#endif
#include <gst/gst.h>
static gboolean plugin_init (GstPlugin * plugin);
/* cdio headers redefine VERSION etc., so do this here before including them */
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
cdio,
"Read audio from audio CDs",
plugin_init, VERSION, "GPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
#include "gstcdio.h"
#include "gstcdiocddasrc.h"
......@@ -136,10 +147,3 @@ plugin_init (GstPlugin * plugin)
return TRUE;
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
cdio,
"Read audio from audio CDs",
plugin_init, VERSION, "GPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment