summaryrefslogtreecommitdiff
path: root/src/render/meson.build
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-07-02 18:31:31 -0400
committerAndrew Opalach <andrew@akon.city> 2026-07-02 18:31:31 -0400
commitf51b7c35c95a5c6ad50c9fc430780e6953f37dad (patch)
treeca7557e147e918fda1284cc1a338c98b9d7e86f8 /src/render/meson.build
parent38cce5e94a10e5420e4685bbe5ebb1aade6d522f (diff)
downloadcamu-f51b7c35c95a5c6ad50c9fc430780e6953f37dad.tar.gz
camu-f51b7c35c95a5c6ad50c9fc430780e6953f37dad.tar.bz2
camu-f51b7c35c95a5c6ad50c9fc430780e6953f37dad.zip
Fix FFmpegless build
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/render/meson.build')
-rw-r--r--src/render/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/meson.build b/src/render/meson.build
index 44d8255..9aee7af 100644
--- a/src/render/meson.build
+++ b/src/render/meson.build
@@ -162,6 +162,9 @@ elif get_option('renderer') == 'libplacebo'
endif
if get_option('subtitles').enabled()
+ if 'ffmpeg' not in get_option('codecs')
+ error('Subtitle support currently depends on FFmpeg.')
+ endif
libass_found = false
if 'libass' not in get_option('force_fallback_for') and get_option('wrap_mode') != 'forcefallback'
libass = dependency('libass', required: false, allow_fallback: false)