mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 15:56:42 +00:00
version: Take nano version into account in GST_CHECK_VERSION()
If the nano is > 0 the current version should be handled the same as micro + 1.
This commit is contained in:
parent
f2f7842f6b
commit
0ff0e6a434
1 changed files with 3 additions and 1 deletions
|
@ -81,7 +81,9 @@ G_BEGIN_DECLS
|
|||
(GST_VERSION_MAJOR > (major) || \
|
||||
(GST_VERSION_MAJOR == (major) && GST_VERSION_MINOR > (minor)) || \
|
||||
(GST_VERSION_MAJOR == (major) && GST_VERSION_MINOR == (minor) && \
|
||||
GST_VERSION_MICRO >= (micro)))
|
||||
GST_VERSION_MICRO >= (micro)) || \
|
||||
(GST_VERSION_MAJOR == (major) && GST_VERSION_MINOR == (minor) && \
|
||||
GST_VERSION_MICRO + 1 == (micro) && GST_VERSION_NANO > 0))
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
Loading…
Reference in a new issue