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
This commit is contained in:
fleaz 2023-10-26 22:04:03 +02:00
parent 30c49cdd91
commit f2efd2e9bc
No known key found for this signature in database
GPG Key ID: AED15F8FDD04D083

View File

@ -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 ];