Unverified Commit f2efd2e9 authored by fleaz's avatar fleaz
Browse files

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
parent 30c49cdd
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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 ];