On Tue, Mar 24, 2015 at 09:34:43AM +, Carl Eugen Hoyos wrote:
> rothenpieler.org> writes:
>
> > + { check_cpp_condition nvEncodeAPI.h "NVENCAPI_MAJOR_VERSION >= 5" ||
> > + die "ERROR: NVENC API version 4 or older is not supported"; } &&
>
> This needs a Changelog entry (or simila
rothenpieler.org> writes:
> + { check_cpp_condition nvEncodeAPI.h "NVENCAPI_MAJOR_VERSION >= 5" ||
> + die "ERROR: NVENC API version 4 or older is not supported"; } &&
This needs a Changelog entry (or similar).
Sorry, Carl Eugen
___
ffmpeg
From: Timo Rothenpieler
---
configure | 2 ++
libavcodec/nvenc.c | 16
2 files changed, 2 insertions(+), 16 deletions(-)
diff --git a/configure b/configure
index 4827a4d..ede517e 100755
--- a/configure
+++ b/configure
@@ -4998,6 +4998,8 @@ enabled libxvid &&
Am 24.03.2015 um 10:03 schrieb Carl Eugen Hoyos:
rothenpieler.org> writes:
+#if NVENCAPI_MAJOR_VERSION < 5
+#error "NVENC API 4 or older is not supported"
+#endif
This should be checked in configure imo.
Yes, would indeed be better.
Could you confirm that the new api is available
and t
rothenpieler.org> writes:
> +#if NVENCAPI_MAJOR_VERSION < 5
> +#error "NVENC API 4 or older is not supported"
> +#endif
This should be checked in configure imo.
Could you confirm that the new api is available
and that it works for all hardware that the old
api supported?
Carl Eugen
___
From: Timo Rothenpieler
---
libavcodec/nvenc.c | 20
1 file changed, 4 insertions(+), 16 deletions(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 22956b9..7d04afc 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -36,6 +36,10 @@
#include "internal.