handbrake: fix build

There were 2 issues in the current handbrake derivation:
- Since version 1.6.0 upstream is using ffmpeg 5.1.2 instead of 5.1.1
- One of the ffmpeg patches from upstream are not applying anymore at
least since 5.1.1

This commit fixes those 2 issues and allow handbrake to build again.

+4 -3
+4 -3
pkgs/applications/video/handbrake/default.nix
··· 97 97 # Handbrake maintains a set of ffmpeg patches. In particular, these 98 98 # patches are required for subtitle timing to work correctly. See: 99 99 # https://github.com/HandBrake/HandBrake/issues/4029 100 - ffmpeg-version = "5.1.1"; 100 + ffmpeg-version = "5.1.2"; 101 101 ffmpeg-hb = ffmpeg_5-full.overrideAttrs (old: { 102 102 version = ffmpeg-version; 103 103 src = fetchurl { 104 104 url = "https://www.ffmpeg.org/releases/ffmpeg-${ffmpeg-version}.tar.bz2"; 105 - hash = "sha256-zQ4W+QNCEmbVzN3t97g7nldUrvS596fwbOnkyALwVFs="; 105 + hash = "sha256-OaC8yNmFSfFsVwYkZ4JGpqxzbAZs69tAn5UC6RWyLys="; 106 106 }; 107 107 patches = old.patches or [ ] ++ [ 108 108 "${src}/contrib/ffmpeg/A01-qsv-libavfilter-qsvvpp-change-the-output-frame-s-width-a.patch" ··· 133 133 "${src}/contrib/ffmpeg/A26-Update-the-min-version-to-1.4.23.0-for-AMF-SDK.patch" 134 134 "${src}/contrib/ffmpeg/A27-avcodec-amfenc-Fixes-the-color-information-in-the-ou.patch" 135 135 "${src}/contrib/ffmpeg/A28-avcodec-amfenc-HDR-metadata.patch" 136 - "${src}/contrib/ffmpeg/A30-svt-av1-backports.patch" 136 + # This patch is not applying since ffmpeg 5.1.1, probably it was backported by upstream 137 + # "${src}/contrib/ffmpeg/A30-svt-av1-backports.patch" 137 138 ]; 138 139 }); 139 140