From fdcb0ee75f2716aaf27e01a0d4a1153bb290d419 Mon Sep 17 00:00:00 2001 From: arch1t3cht Date: Sun, 3 Jul 2022 17:49:46 +0200 Subject: [PATCH] meson: Fix compliation with avisynth enabled Still crashes when loading a video. --- meson.build | 1 + src/meson.build | 1 + 2 files changed, 2 insertions(+) diff --git a/meson.build b/meson.build index 433ca01ee..c5a9dd7a0 100644 --- a/meson.build +++ b/meson.build @@ -222,6 +222,7 @@ endforeach if host_machine.system() == 'windows' and get_option('avisynth').enabled() conf.set('WITH_AVISYNTH', 1) # bundled separately with installer + deps += cc.find_library('avifil32', required: true) endif if host_machine.system() == 'windows' and not get_option('directsound').disabled() diff --git a/src/meson.build b/src/meson.build index 72587d366..9592cf6e0 100644 --- a/src/meson.build +++ b/src/meson.build @@ -174,6 +174,7 @@ elif host_machine.system() == 'windows' 'avisynth_wrap.cpp', 'font_file_lister_gdi.cpp', # 'libass_gdi_fontselect.cpp', + 'audio_provider_avs.cpp', 'video_provider_avs.cpp', )