x264: Check that minimum version is met

Since the addition of monochrome encoding support, we now depends on build 156.
No version check was happening so far.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5325>
This commit is contained in:
Nicolas Dufresne 2023-09-13 10:12:44 -04:00
parent 887b4095ca
commit b20f66ceac

View file

@ -8,7 +8,7 @@ x264_sources = [
'gstencoderbitrateprofilemanager.c',
]
x264_dep = dependency('x264', required : x264_opt,
x264_dep = dependency('x264', version : '>=0.156', required : x264_opt,
fallback: ['x264', 'libx264_dep'])
if x264_dep.found()