pull/13/merge
Simon Bruder 2023-11-19 22:56:10 -06:00 committed by GitHub
commit e1e68fc19e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 37 deletions

View File

@ -1,35 +0,0 @@
From cfc284a25d94ddf4459bac612d208f9065ccebcf Mon Sep 17 00:00:00 2001
From: Simon Bruder <simon@sbruder.de>
Date: Fri, 15 Oct 2021 19:32:44 +0200
Subject: [PATCH 2/2] Use format IDs from VapourSynth R55
---
test/vsTAAmbkTestCase.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/test/vsTAAmbkTestCase.py b/test/vsTAAmbkTestCase.py
index 7a70a00..d2acdd6 100644
--- a/test/vsTAAmbkTestCase.py
+++ b/test/vsTAAmbkTestCase.py
@@ -88,12 +88,12 @@ class GeneralTestCase(unittest.TestCase):
yuv420p16 = core.std.BlankClip(width=1920, height=1080, format=vs.YUV420P16, fpsnum=24000, fpsden=1001)
yuv444p16 = core.std.BlankClip(width=1920, height=1080, format=vs.YUV444P16, fpsnum=24000, fpsden=1001)
format_id = {
- '1000010': 'GRAY8',
- '1000011': 'GRAY16',
- '3000010': 'YUV420P8',
- '3000012': 'YUV444P8',
- '3000022': 'YUV420P16',
- '3000024': 'YUV444P16',
+ '268959744': 'GRAY8',
+ '269484032': 'GRAY16',
+ '805830913': 'YUV420P8',
+ '805830656': 'YUV444P8',
+ '806355201': 'YUV420P16',
+ '806354944': 'YUV444P16',
}
def test_default_value(self):
--
2.31.1

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, vapoursynthPlugins, python, vapoursynth }:
{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, vapoursynthPlugins, python, vapoursynth }:
buildPythonPackage rec {
pname = "vsTAAmbk";
@ -12,8 +12,12 @@ buildPythonPackage rec {
};
patches = [
(fetchpatch {
name = "Remove-unnecessary-format-registration.patch";
url = "https://github.com/HomeOfVapourSynthEvolution/vsTAAmbk/commit/c707f5a8178b80e3ddc4556b69dd36c0d1928166.patch";
sha256 = "sha256-zLSr5POLWvAsHqTFbQOsLQnPpPRl/KjiN/tCr+zIMVg=";
})
./0001-Skip-OpenCL-test.patch
./0002-Use-format-IDs-from-VapourSynth-R55.patch
];
propagatedBuildInputs = with vapoursynthPlugins; [