diff options
| author | 2024-10-29 16:47:10 -0400 | |
|---|---|---|
| committer | 2024-10-29 17:06:47 -0400 | |
| commit | f56abfafcd4fa722b807278b138f805112cd953e (patch) | |
| tree | 1d80c75395711d8632ef46ac4178cb98ae26c0f7 /src/codec | |
| parent | 355480f408e88b69717b934bace4e5e69856ad23 (diff) | |
| download | camu-f56abfafcd4fa722b807278b138f805112cd953e.tar.gz camu-f56abfafcd4fa722b807278b138f805112cd953e.tar.bz2 camu-f56abfafcd4fa722b807278b138f805112cd953e.zip | |
Update deps and cleanup build
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/codec')
| -rw-r--r-- | src/codec/meson.build | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/codec/meson.build b/src/codec/meson.build index 7a01040..d27099a 100644 --- a/src/codec/meson.build +++ b/src/codec/meson.build @@ -9,15 +9,15 @@ if get_option('codecs').contains('ffmpeg') 'ffmpeg/scaler.c', 'ffmpeg/encoder.c', ] + if not get_option('sink-only') + ffmpeg_src += [ + 'ffmpeg/demuxer.c', + 'ffmpeg/avio.c' + ] + endif ffmpeg_inc = [] ffmpeg_deps = [] ffmpeg_args = [] -if not get_option('sink-only') - ffmpeg_src += [ - 'ffmpeg/demuxer.c', - 'ffmpeg/avio.c' - ] -endif libavutil = dependency('libavutil', required: false) libavformat = dependency('libavformat', required: false) @@ -49,7 +49,7 @@ endif ffmpeg_deps += [libavutil, libavformat, libavcodec, libswresample, libswscale] ffmpeg_args += ['-DCAMU_HAVE_FFMPEG'] ffmpeg_codec = declare_dependency(sources: ffmpeg_src, dependencies: ffmpeg_deps, - include_directories: ffmpeg_inc, compile_args: ffmpeg_args) + include_directories: ffmpeg_inc, compile_args: ffmpeg_args) codec_deps += [ffmpeg_codec] endif endif |