mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
configure: allow builds against GStreamer git (1.5.x).
https://bugzilla.gnome.org/show_bug.cgi?id=733688
This commit is contained in:
parent
580100d749
commit
883ef9d436
1 changed files with 10 additions and 0 deletions
10
configure.ac
10
configure.ac
|
@ -15,6 +15,7 @@ m4_define([gst0_vaapi_lt_current_bias], [0])
|
|||
m4_define([gst1_vaapi_lt_current_bias], [2])
|
||||
m4_define([gst2_vaapi_lt_current_bias], [4])
|
||||
m4_define([gst4_vaapi_lt_current_bias], [5])
|
||||
m4_define([gst6_vaapi_lt_current_bias], [5])
|
||||
m4_define([gst_vaapi_lt_revision], [0])
|
||||
m4_define([gst_vaapi_lt_age], [0])
|
||||
|
||||
|
@ -35,6 +36,9 @@ m4_define([gst12_plugins_bad_version], [1.1.0])
|
|||
m4_define([gst14_version], [1.2.90])
|
||||
m4_define([gst14_plugins_base_version], [1.3.0])
|
||||
m4_define([gst14_plugins_bad_version], [1.3.0])
|
||||
m4_define([gst16_version], [1.5.0])
|
||||
m4_define([gst16_plugins_base_version], [1.5.0])
|
||||
m4_define([gst16_plugins_bad_version], [1.5.0])
|
||||
|
||||
# Wayland minimum version number
|
||||
m4_define([wayland_api_version], [1.0.0])
|
||||
|
@ -225,6 +229,11 @@ case $GST_API_VERSION in
|
|||
GST_PLUGINS_BASE_VERSION_REQUIRED=gst14_plugins_base_version
|
||||
GST_PLUGINS_BAD_VERSION_REQUIRED=gst14_plugins_bad_version
|
||||
;;
|
||||
1.5)
|
||||
GST_VERSION_REQUIRED=gst16_version
|
||||
GST_PLUGINS_BASE_VERSION_REQUIRED=gst16_plugins_base_version
|
||||
GST_PLUGINS_BAD_VERSION_REQUIRED=gst16_plugins_bad_version
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([unsupported GStreamer API version $GST_API_VERSION])
|
||||
;;
|
||||
|
@ -474,6 +483,7 @@ case $GST_API_VERSION in
|
|||
1.0) lt_bias=gst1_vaapi_lt_current_bias;;
|
||||
1.2) lt_bias=gst2_vaapi_lt_current_bias;;
|
||||
1.[[3-4]]) lt_bias=gst4_vaapi_lt_current_bias;;
|
||||
1.5) lt_bias=gst6_vaapi_lt_current_bias;;
|
||||
esac
|
||||
GST_VAAPI_MAJOR_VERSION=`expr gst_vaapi_lt_current - "$lt_bias"`
|
||||
AC_SUBST(GST_VAAPI_MAJOR_VERSION)
|
||||
|
|
Loading…
Reference in a new issue