mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
1dadccd48c
With the way the runtime checks are currently set up, every single openh264 release, no matter how minor, is considered an ABI break and requires gst-plugins-bad recompilation. This is unnecessarily strict because it doesn't allow downstream distributions to ship any openh264 bug fix version updates without breaking gstreamer's openh264 support. Years ago, at the time when gstreamer's openh264 support was merged, openh264 releases were done without a versioned soname (the library was just libopenh264.so, unversioned). Since then, starting with version 1.3.0, openh264 has started using versioned sonames and the intent has been to bump the soname every time there's a new release with an ABI change. This patch drops the strict version check. meson.build already has a minimum requirement on openh264 version 1.3.0 where soname versioning was added, which should be good enough to ensure that the library is using soname versioning. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5780>
22 lines
640 B
Meson
22 lines
640 B
Meson
openh264_sources = [
|
|
'gstopenh264dec.cpp',
|
|
'gstopenh264enc.cpp',
|
|
'gstopenh264plugin.c',
|
|
]
|
|
|
|
openh264_dep = dependency('openh264', version : '>= 1.3.0',
|
|
required : get_option('openh264'),
|
|
fallback: ['openh264', 'openh264_dep'])
|
|
|
|
if openh264_dep.found()
|
|
gstopenh264 = library('gstopenh264',
|
|
openh264_sources,
|
|
c_args : gst_plugins_bad_args,
|
|
link_args : noseh_link_args,
|
|
include_directories : [configinc],
|
|
dependencies : [gstvideo_dep, openh264_dep, gstpbutils_dep, ],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
plugins += [gstopenh264]
|
|
endif
|