From: Sebastian Dröge Date: Wed, 3 Nov 2010 10:13:08 +0000 (+0100) Subject: pbutils: Take nano version into account in GST_CHECK_PLUGINS_BASE_VERSION() X-Git-Tag: 1.19.3~511^2~7840 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=36c9ba990a3df1aff2371ac1acfc7fbdcedca242;p=platform%2Fupstream%2Fgstreamer.git pbutils: Take nano version into account in GST_CHECK_PLUGINS_BASE_VERSION() If the nano is > 0 the current version should be handled the same as micro + 1. --- diff --git a/gst-libs/gst/pbutils/gstpluginsbaseversion.h.in b/gst-libs/gst/pbutils/gstpluginsbaseversion.h.in index 0449321..bd8adc9 100644 --- a/gst-libs/gst/pbutils/gstpluginsbaseversion.h.in +++ b/gst-libs/gst/pbutils/gstpluginsbaseversion.h.in @@ -73,7 +73,9 @@ G_BEGIN_DECLS (GST_PLUGINS_BASE_VERSION_MAJOR > (major) || \ (GST_PLUGINS_BASE_VERSION_MAJOR == (major) && GST_PLUGINS_BASE_VERSION_MINOR > (minor)) || \ (GST_PLUGINS_BASE_VERSION_MAJOR == (major) && GST_PLUGINS_BASE_VERSION_MINOR == (minor) && \ - GST_PLUGINS_BASE_VERSION_MICRO >= (micro))) + GST_PLUGINS_BASE_VERSION_MICRO >= (micro)) || \ + (GST_PLUGINS_BASE_VERSION_MAJOR == (major) && GST_PLUGINS_BASE_VERSION_MINOR == (minor) && \ + GST_PLUGINS_BASE_VERSION_MICRO + 1 == (micro) && GST_PLUGINS_BASE_VERSION_NANO > 0)) void gst_plugins_base_version (guint *major, guint *minor, guint *micro, guint *nano);