From 4a9e7d08f2ead22f58523883eaa2775629ea64fc Mon Sep 17 00:00:00 2001 From: moi15moi Date: Sat, 28 Dec 2024 21:12:30 -0500 Subject: [PATCH] [bestsource provider] Remove VariableFormat parameter This [commit](https://github.com/vapoursynth/bestsource/commit/633d6e8334f8f17e15cb939194343852ba7c35b1#diff-fe0470628acf368c8971852850ca82394169b0fd8a64c78426663f21ee0ef2a2) added the ViewID parameter in videosource.h Let's set it to 0 since we don't support spatial videos. --- src/video_provider_bestsource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_provider_bestsource.cpp b/src/video_provider_bestsource.cpp index 025ffabcba..0a269dc90c 100644 --- a/src/video_provider_bestsource.cpp +++ b/src/video_provider_bestsource.cpp @@ -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(filename.string(), "", 0, static_cast(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(filename.string(), "", 0, static_cast(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(); });