diff options
author | fleaz <mail@felixbreidenstein.de> | 2023-10-26 22:04:03 +0200 |
---|---|---|
committer | fleaz <mail@felixbreidenstein.de> | 2023-10-26 23:21:32 +0200 |
commit | f2efd2e9bce544298e8afa059abae69efcf55fa7 (patch) | |
tree | f150266b8712e9092af36784d5879d08593ae465 /pkgs/servers/http/nginx | |
parent | 30c49cdd912a48ba16e8e1b8af2860468a69cb3b (diff) | |
download | nixlib-f2efd2e9bce544298e8afa059abae69efcf55fa7.tar nixlib-f2efd2e9bce544298e8afa059abae69efcf55fa7.tar.gz nixlib-f2efd2e9bce544298e8afa059abae69efcf55fa7.tar.bz2 nixlib-f2efd2e9bce544298e8afa059abae69efcf55fa7.tar.lz nixlib-f2efd2e9bce544298e8afa059abae69efcf55fa7.tar.xz nixlib-f2efd2e9bce544298e8afa059abae69efcf55fa7.tar.zst nixlib-f2efd2e9bce544298e8afa059abae69efcf55fa7.zip |
nginxModules.vod: Patch MAX_CLIPS variable
The old limit was only 128 and this breaks some applications like e.g. Frigate where playlists become bigger than that. According to upstream you should just change the variable yourself if needed. See this issue: https://github.com/kaltura/nginx-vod-module/issues/238
Diffstat (limited to 'pkgs/servers/http/nginx')
-rw-r--r-- | pkgs/servers/http/nginx/modules.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/servers/http/nginx/modules.nix b/pkgs/servers/http/nginx/modules.nix index 310989387998..542ff0796ad5 100644 --- a/pkgs/servers/http/nginx/modules.nix +++ b/pkgs/servers/http/nginx/modules.nix @@ -986,7 +986,11 @@ let self = { owner = "kaltura"; repo = "nginx-vod-module"; rev = "1.32"; - hash = "sha256-uBZtzh+IvBFNU/9oQ3KmX65Eog2CrI5LYN8sKaqjJhE="; + hash = "sha256-ZpG0oj60D3o7/7uyE8AybCiOtncVe1Jnjaz22sIFypk="; + postFetch = '' + substituteInPlace $out/vod/media_set.h \ + --replace "MAX_CLIPS (128)" "MAX_CLIPS (1024)" + ''; }; inputs = [ ffmpeg fdk_aac openssl libxml2 libiconv ]; |