summaryrefslogtreecommitdiff
path: root/libavcodec/nvenc.h
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2017-05-09 13:57:39 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2017-05-09 18:38:30 +0200
commitcfbebe9dda7d0833b89dc6c2a69a56e50f2a7989 (patch)
treef0037adf20a5db063b397e8a5df38a089b88d7b5 /libavcodec/nvenc.h
parentef390e348eba8aac9f1569278bd2b5d203cd6c1f (diff)
avcodec/nvenc: deprecated old rc modes, add new ones
Diffstat (limited to 'libavcodec/nvenc.h')
-rw-r--r--libavcodec/nvenc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/nvenc.h b/libavcodec/nvenc.h
index 763647b283..02066383b3 100644
--- a/libavcodec/nvenc.h
+++ b/libavcodec/nvenc.h
@@ -30,6 +30,8 @@
#include "avcodec.h"
#define MAX_REGISTERED_FRAMES 64
+#define RC_MODE_DEPRECATED 0x800000
+#define RCD(rc_mode) ((rc_mode) | RC_MODE_DEPRECATED)
typedef struct NvencSurface
{