mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
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.
This commit is contained in:
parent
8b60aa8e01
commit
36c9ba990a
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue