Merge pull request #138713 from tadeokondrak/vapoursynth-r55

vapoursynth: R54 -> R55

authored by

Michele Guerini Rocco and committed by
GitHub
6eef746c 2fc1eeb9

+16 -16
+14 -14
pkgs/development/libraries/vapoursynth/0001-Call-weak-function-to-allow-adding-preloaded-plugins.patch
··· 1 - From 9b05a6f331506afa5aca8865677af83403d2a32d Mon Sep 17 00:00:00 2001 1 + From 439e2effe1cc372925daf6d5c28569663ffb93ed Mon Sep 17 00:00:00 2001 2 2 From: Tadeo Kondrak <me@tadeo.ca> 3 3 Date: Mon, 25 Jan 2021 11:17:44 -0700 4 4 Subject: [PATCH] Call weak function to allow adding preloaded plugins after ··· 10 10 2 files changed, 24 insertions(+) 11 11 12 12 diff --git a/src/core/vscore.cpp b/src/core/vscore.cpp 13 - index 2d29844d..35c509ed 100644 13 + index f8e69062..4ce4c623 100644 14 14 --- a/src/core/vscore.cpp 15 15 +++ b/src/core/vscore.cpp 16 - @@ -1229,6 +1229,20 @@ void VSCore::destroyFilterInstance(VSNode *node) { 16 + @@ -1791,6 +1791,20 @@ void VSCore::destroyFilterInstance(VSNode *node) { 17 17 freeDepth--; 18 18 } 19 19 ··· 31 31 +} 32 32 +} 33 33 + 34 - VSCore::VSCore(int threads) : 35 - coreFreed(false), 34 + VSCore::VSCore(int flags) : 36 35 numFilterInstances(1), 37 - @@ -1351,6 +1365,11 @@ VSCore::VSCore(int threads) : 36 + numFunctionInstances(0), 37 + @@ -1918,6 +1932,11 @@ VSCore::VSCore(int flags) : 38 38 } // If neither exists, an empty string will do. 39 39 #endif 40 40 ··· 44 44 + } 45 45 + 46 46 VSMap *settings = readSettings(configFile); 47 - const char *error = vs_internal_vsapi.getError(settings); 47 + const char *error = vs_internal_vsapi.mapGetError(settings); 48 48 if (error) { 49 49 diff --git a/src/core/vscore.h b/src/core/vscore.h 50 - index 74df8a84..3efac811 100644 50 + index 2ce0f56b..2982b133 100644 51 51 --- a/src/core/vscore.h 52 52 +++ b/src/core/vscore.h 53 - @@ -582,6 +582,9 @@ public: 54 - VSFunction() : functionData(nullptr), func(nullptr) {} 53 + @@ -985,6 +985,9 @@ public: 54 + std::string getV3ArgString() const; 55 55 }; 56 56 57 57 +extern "C" { ··· 59 59 +} 60 60 61 61 struct VSPlugin { 62 - private: 63 - @@ -683,6 +686,8 @@ public: 62 + friend struct VSPluginFunction; 63 + @@ -1140,6 +1143,8 @@ public: 64 64 65 - explicit VSCore(int threads); 65 + explicit VSCore(int flags); 66 66 void freeCore(); 67 67 + 68 68 + friend void VSLoadPluginsNixCallback(void *data, const char *path); ··· 70 70 71 71 #endif // VSCORE_H 72 72 -- 73 - 2.30.0 73 + 2.32.0 74 74
+2 -2
pkgs/development/libraries/vapoursynth/default.nix
··· 10 10 11 11 stdenv.mkDerivation rec { 12 12 pname = "vapoursynth"; 13 - version = "R54"; 13 + version = "R55"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "vapoursynth"; 17 17 repo = "vapoursynth"; 18 18 rev = version; 19 - sha256 = "01jym2rq28j0g792yagk9dvm411gwmk6qgj9rgrg7ckpxmw27w2s"; 19 + sha256 = "sha256-91lPknNX3NM3NraIcPAR478paPoYvgjgCOIcdgaR5nE="; 20 20 }; 21 21 22 22 patches = [