mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
gstplugin: Add hack for handling 0.11.9X and 0.11.89.X with X>0 the same as 1.0.0
Also update the version number to 0.11.89.1
This commit is contained in:
parent
515a1ad0f7
commit
079b2cb0c7
2 changed files with 10 additions and 1 deletions
|
@ -3,7 +3,7 @@ AC_PREREQ(2.60)
|
|||
dnl initialize autoconf
|
||||
dnl when going to/from release please set the nano (fourth number) right !
|
||||
dnl releases only do Wall, git and prerelease does Werror too
|
||||
AC_INIT(GStreamer, 0.11.3.1,
|
||||
AC_INIT(GStreamer, 0.11.89.1,
|
||||
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer,
|
||||
gstreamer)
|
||||
AG_GST_INIT
|
||||
|
|
|
@ -301,6 +301,15 @@ gst_plugin_feature_check_version (GstPluginFeature * feature,
|
|||
GST_DEBUG ("version string '%s' parsed to %d values", ver_str, nscan);
|
||||
|
||||
if (nscan >= 3) {
|
||||
/* FIXME 1.0: Remove this before doing the actual 1.0.0 release */
|
||||
if ((major == 0 && minor == 11 && micro >= 90) ||
|
||||
(major == 0 && minor == 11 && micro == 89 && nano > 0)) {
|
||||
major = 1;
|
||||
minor = 0;
|
||||
micro = 0;
|
||||
nano = 0;
|
||||
}
|
||||
|
||||
if (major > min_major)
|
||||
ret = TRUE;
|
||||
else if (major < min_major)
|
||||
|
|
Loading…
Reference in a new issue