Skip to content

Commit a4a9cad

Browse files
committed
[bestsource provider] Remove VariableFormat parameter
This [commit](vapoursynth/bestsource@633d6e8#diff-fe0470628acf368c8971852850ca82394169b0fd8a64c78426663f21ee0ef2a2) added the ViewID parameter in videosource.h Let's set it to 0 since we don't support spatial videos.
1 parent 7c351e4 commit a4a9cad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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), 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), 0, 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)