Skip to content

Commit ba888ef

Browse files
committed
[bestsource provider] Remove VariableFormat parameter
This [commit](vapoursynth/bestsource@4f6ef06) removed the VariableFormat parameter in videosource.h This [commit](vapoursynth/bestsource@2817e14) removed the VariableFormat parameter in audiosource.h
1 parent cfe581a commit ba888ef

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/audio_provider_bestsource.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ BSAudioProvider::BSAudioProvider(agi::fs::path const& filename, agi::BackgroundR
6767
ps->SetTitle(from_wx(_("Indexing")));
6868
ps->SetMessage(from_wx(_("Indexing file... This will take a while!")));
6969
try {
70-
bs = agi::make_unique<BestAudioSource>(filename.string(), static_cast<int>(track), -1, false, 0, 1, provider_bs::GetCacheFile(filename), &bsopts, 0, [=](int Track, int64_t Current, int64_t Total) {
70+
bs = agi::make_unique<BestAudioSource>(filename.string(), static_cast<int>(track), -1, 0, 1, provider_bs::GetCacheFile(filename), &bsopts, 0, [=](int Track, int64_t Current, int64_t Total) {
7171
ps->SetProgress(Current, Total);
7272
return !ps->IsCancelled();
7373
});

src/video_provider_bestsource.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ BSVideoProvider::BSVideoProvider(agi::fs::path const& filename, std::string cons
116116
ps->SetTitle(from_wx(_("Indexing")));
117117
ps->SetMessage(from_wx(_("Decoding the full track to ensure perfect frame accuracy. This will take a while!")));
118118
try {
119-
bs = agi::make_unique<BestVideoSource>(filename.string(), "", 0, static_cast<int>(track_info.first), false, OPT_GET("Provider/Video/BestSource/Threads")->GetInt(), 1, provider_bs::GetCacheFile(filename), &bsopts, [=](int Track, int64_t Current, int64_t Total) {
119+
bs = agi::make_unique<BestVideoSource>(filename.string(), "", 0, static_cast<int>(track_info.first), OPT_GET("Provider/Video/BestSource/Threads")->GetInt(), 1, provider_bs::GetCacheFile(filename), &bsopts, [=](int Track, int64_t Current, int64_t Total) {
120120
ps->SetProgress(Current, Total);
121121
return !ps->IsCancelled();
122122
});

0 commit comments

Comments
 (0)