sub/sd_sbr: check runtime version

This commit is contained in:
Kacper Michajłow committed 2025-12-24 19:01:40 +01:00
1 parent 5c80b876db
commit c0d989c839
2 files changed
+16 -1

No files matched your search

+1 -1
View File
@@ -355,7 +355,7 @@ if features['libdl']
dependencies += libdl
endif
subrandr = dependency('subrandr', version: '>= 0.1.1', required: get_option('subrandr'))
subrandr = dependency('subrandr', version: '>= 1.0.0', required: get_option('subrandr'))
features += {'subrandr': subrandr.found()}
if features['subrandr']
sources += files('demux/demux_sbr.c', 'sub/sd_sbr.c')