summaryrefslogtreecommitdiff
path: root/libavcodec/nvenc.h
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2019-09-27 19:09:11 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2019-09-27 20:00:59 +0200
commitab0ef1abdf53e257f7628f2d264adc80038f3bcb (patch)
treedd7bb459480b0e670ee5fbc54c1422ec30bee22d /libavcodec/nvenc.h
parent51a23343d9c736217d8845b7442fafc373726433 (diff)
downloadffmpeg-ab0ef1abdf53e257f7628f2d264adc80038f3bcb.tar.gz
avcodec/nvenc: make use of new GetLastErrorString function
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/nvenc.h')
-rw-r--r--libavcodec/nvenc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/nvenc.h b/libavcodec/nvenc.h
index cdba998ffd..a269bd97bb 100644
--- a/libavcodec/nvenc.h
+++ b/libavcodec/nvenc.h
@@ -58,6 +58,7 @@ typedef void ID3D11Device;
#if NVENCAPI_CHECK_VERSION(9, 1)
#define NVENC_HAVE_MULTIPLE_REF_FRAMES
#define NVENC_HAVE_CUSTREAM_PTR
+#define NVENC_HAVE_GETLASTERRORSTRING
#endif
typedef struct NvencSurface