Skip to content

Commit

Permalink
[bestsource provider] Remove VariableFormat parameter
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
moi15moi committed Dec 30, 2024
1 parent 7c351e4 commit a4a9cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video_provider_bestsource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ BSVideoProvider::BSVideoProvider(agi::fs::path const& filename, std::string cons
ps->SetTitle(from_wx(_("Indexing")));
ps->SetMessage(from_wx(_("Decoding the full track to ensure perfect frame accuracy. This will take a while!")));
try {
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) {
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) {
ps->SetProgress(Current, Total);
return !ps->IsCancelled();
});
Expand Down

0 comments on commit a4a9cad

Please sign in to comment.