Skip to content

Commit

Permalink
Merge branch 'vapoursynth' into feature
Browse files Browse the repository at this point in the history
  • Loading branch information
arch1t3cht committed Aug 15, 2023
2 parents a867f0c + b2ee8ac commit 11fece4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vapoursynth_wrap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ VapourSynthWrapper::VapourSynthWrapper() {
#endif

if (!hLib)
throw VapourSynthError("Could not load " VSSCRIPT_SO);
throw VapourSynthError("Could not load " VSSCRIPT_SO ". Make sure VapourSynth is installed correctly.");

#ifdef _WIN32
FUNC* getVSScriptAPI = (FUNC*)GetProcAddress(hLib, "getVSScriptAPI");
Expand All @@ -89,7 +89,7 @@ VapourSynthWrapper::VapourSynthWrapper() {
setlocale(LC_ALL, oldlocale.c_str());

if (!scriptapi)
throw VapourSynthError("Failed to get VapourSynth ScriptAPI");
throw VapourSynthError("Failed to get VapourSynth ScriptAPI. Make sure VapourSynth is installed correctly.");

api = scriptapi->getVSAPI(VAPOURSYNTH_API_VERSION);

Expand Down

0 comments on commit 11fece4

Please sign in to comment.