blob: 27854d771143b84fd0f037b78c7c5bd1324ff4fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
From 6c95a679f9ec991bd8cbdf4f0b2c3e2ad0ab1850 Mon Sep 17 00:00:00 2001
From: James Le Cuirot <chewi@gentoo.org>
Date: Sat, 25 Jul 2026 13:28:51 +0100
Subject: [PATCH] Broaden the accepted versions of nvenc
--- a/src/nvenc/nvenc_base.cpp
+++ b/src/nvenc/nvenc_base.cpp
@@ -24,7 +24,7 @@
// - NV_ENC_*_VER definitions where the value inside NVENCAPI_STRUCT_VERSION() was increased
// - Incompatible struct changes in nvEncodeAPI.h (fields removed, semantics changed, etc.)
// - Test both old and new drivers with all supported codecs
-#if NVENCAPI_VERSION != MAKE_NVENC_VER(13U, 0U)
+#if NVENCAPI_MAJOR_VERSION != 13
#error Check and update NVENC code for backwards compatibility!
#endif
--
2.55.0
|