mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
pluginfeature: disable version mangling for post-1.0.0 release
Just in case we don't grep for FIXME 1.0 before the release.
This commit is contained in:
parent
888d9aa4d3
commit
5d062480df
1 changed files with 10 additions and 7 deletions
|
@ -317,13 +317,16 @@ gst_plugin_feature_check_version (GstPluginFeature * feature,
|
||||||
GST_DEBUG ("version string '%s' parsed to %d values", ver_str, nscan);
|
GST_DEBUG ("version string '%s' parsed to %d values", ver_str, nscan);
|
||||||
|
|
||||||
if (nscan >= 3) {
|
if (nscan >= 3) {
|
||||||
/* FIXME 1.0: Remove this before doing the actual 1.0.0 release */
|
if (!g_str_has_prefix (PACKAGE_VERSION, "1.")) {
|
||||||
if ((major == 0 && minor == 11 && micro >= 90) ||
|
/* FIXME 1.0: Remove this before doing the actual 1.0.0 release */
|
||||||
(major == 0 && minor == 11 && micro == 89 && nano > 0)) {
|
if ((major == 0 && minor == 11 && micro >= 90)) {
|
||||||
major = 1;
|
major = 1;
|
||||||
minor = 0;
|
minor = 0;
|
||||||
micro = 0;
|
micro = 0;
|
||||||
nano = 0;
|
nano = 0;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
GST_FIXME ("Remove pre-1.0 versions mangling");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (major > min_major)
|
if (major > min_major)
|
||||||
|
|
Loading…
Reference in a new issue