Skip to content

Commit

Permalink
meson: Add and enable dav1d for AV1 decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
arch1t3cht committed Dec 27, 2024
1 parent 1a082c7 commit ee3cfc5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ build*/
subprojects/boost*/
subprojects/cairo*
subprojects/curl-*
subprojects/dav1d
subprojects/ffmpeg
subprojects/ffms2*
subprojects/fontconfig*
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project('Aegisub', ['c', 'cpp'],
license: 'BSD-3-Clause',
meson_version: '>=0.57.0',
default_options: ['cpp_std=c++20', 'buildtype=debugoptimized', 'harfbuzz:icu=disabled'],
default_options: ['cpp_std=c++20', 'buildtype=debugoptimized', 'harfbuzz:icu=disabled', 'ffmpeg:libdav1d=enabled'],
version: '3.4.0')

cmake = import('cmake')
Expand Down
1 change: 1 addition & 0 deletions src/dialog_about.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ void ShowAboutDialog(wxWindow *parent) {
#ifdef WITH_FFMS2
" FFmpeg - Copyright (c) Fabrice Bellard;\n"
" FFMS2 - Copyright (c) Fredrik Mellbin;\n"
" dav1d - Copyright (c) VideoLAN and dav1d authors;\n"
#endif
#ifdef WITH_AVISYNTH
" Avisynth 2.5 - Copyright (c) Ben Rudiak-Gould et al;\n"
Expand Down
7 changes: 7 additions & 0 deletions subprojects/dav1d.wrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[wrap-git]
directory = dav1d
url = https://github.com/videolan/dav1d.git
revision = head

[provide]
dav1d = dav1d_dep

0 comments on commit ee3cfc5

Please sign in to comment.