Skip to content

Commit

Permalink
Merge branches 'bugfixes', 'workarounds' and 'bestsource' into feature
Browse files Browse the repository at this point in the history
  • Loading branch information
arch1t3cht committed Oct 23, 2024
4 parents e8ebb10 + 2969ba4 + 546abe9 + b1fadaf commit 74ed5a6
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 45 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
- name: Setup Meson
run: |
python -m pip install --upgrade pip setuptools
pip install meson==1.4.2
pip install meson
- name: Setup MSVC
if: matrix.config.os == 'windows-latest' && matrix.config.msvc == true
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ subprojects/dirent-*
subprojects/hunspell-*
subprojects/uchardet-*
subprojects/vapoursynth
subprojects/xxhash
subprojects/xxHash-*
2 changes: 1 addition & 1 deletion src/audio_provider_bestsource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace {
class BSAudioProvider final : public agi::AudioProvider {
std::map<std::string, std::string> bsopts;
std::unique_ptr<BestAudioSource> bs;
AudioProperties properties;
BSAudioProperties properties;

void FillBuffer(void *Buf, int64_t Start, int64_t Count) const override;
public:
Expand Down
2 changes: 1 addition & 1 deletion src/video_provider_bestsource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class BSVideoProvider final : public VideoProvider {
bool apply_rff;

std::unique_ptr<BestVideoSource> bs;
VideoProperties properties;
BSVideoProperties properties;

std::vector<int> Keyframes;
agi::vfr::Framerate Timecodes;
Expand Down
3 changes: 2 additions & 1 deletion subprojects/bestsource.wrap
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[wrap-git]
url = https://github.com/vapoursynth/bestsource
revision = R4
revision = R8
clone-recursive = true
diff_files = bestsource/0001.patch

[provide]
bestsource = bestsource_dep
1 change: 0 additions & 1 deletion subprojects/dav1d.wrap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
directory = dav1d
url = https://github.com/videolan/dav1d.git
revision = head
diff_files = dav1d/0001.patch

[provide]
dav1d = dav1d_dep
15 changes: 15 additions & 0 deletions subprojects/packagefiles/bestsource/0001.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/meson.build b/meson.build
index 6017b15..de1fbc5 100644
--- a/meson.build
+++ b/meson.build
@@ -2,10 +2,6 @@ project('BestSource', 'cpp',
default_options: ['buildtype=release', 'b_ndebug=if-release', 'cpp_std=c++17'],
license: 'MIT',
meson_version: '>=0.53.0',
- version: '.'.join([
- run_command('grep', 'BEST_SOURCE_VERSION_MAJOR', 'src/version.h', check: true).stdout().strip().split()[2],
- run_command('grep', 'BEST_SOURCE_VERSION_MINOR', 'src/version.h', check: true).stdout().strip().split()[2],
- ])
)

api_sources = files(
39 changes: 0 additions & 39 deletions subprojects/packagefiles/dav1d/0001.patch

This file was deleted.

0 comments on commit 74ed5a6

Please sign in to comment.