From 097a0f45be09056a72e8035b32b96b81418943c6 Mon Sep 17 00:00:00 2001 From: arch1t3cht Date: Wed, 8 Feb 2023 17:40:07 +0100 Subject: [PATCH] vapoursynth: Remove file access checks These are broken in some edge cases, such as smb mounts on Windows. Paired with d96fc1f70da9e0b01b394ebf25083949a0da759c. --- src/audio_provider_vs.cpp | 1 - src/video_provider_vs.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/src/audio_provider_vs.cpp b/src/audio_provider_vs.cpp index 55151e896..1f42803be 100644 --- a/src/audio_provider_vs.cpp +++ b/src/audio_provider_vs.cpp @@ -165,7 +165,6 @@ VapoursynthAudioProvider::~VapoursynthAudioProvider() { } std::unique_ptr CreateVapoursynthAudioProvider(agi::fs::path const& file, agi::BackgroundRunner *) { - agi::acs::CheckFileRead(file); return agi::make_unique(file); } #endif diff --git a/src/video_provider_vs.cpp b/src/video_provider_vs.cpp index bd16d30f1..4d2277317 100644 --- a/src/video_provider_vs.cpp +++ b/src/video_provider_vs.cpp @@ -358,7 +358,6 @@ VapoursynthVideoProvider::~VapoursynthVideoProvider() { namespace agi { class BackgroundRunner; } std::unique_ptr CreateVapoursynthVideoProvider(agi::fs::path const& path, std::string const& colormatrix, agi::BackgroundRunner *br) { - agi::acs::CheckFileRead(path); return agi::make_unique(path, colormatrix, br); } #endif // WITH_VAPOURSYNTH