diff options
author | Andrey Turkin <andrey.turkin@gmail.com> | 2016-05-29 13:07:34 +0300 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2016-05-31 16:48:43 +0300 |
commit | f052ef30ef6534c811b9f349e8f17e32afbc9148 (patch) | |
tree | 16c72a5a4e9c31fd7bb917c55430392306be8bca /libavcodec/nvenc.h | |
parent | b69335304d384ca52db98484719aadfd0f61ecb2 (diff) |
avcodec/nvenc: allow configuring number of surfaces
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavcodec/nvenc.h')
-rw-r--r-- | libavcodec/nvenc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/nvenc.h b/libavcodec/nvenc.h index fd44ebc9af..2c1d8d49d5 100644 --- a/libavcodec/nvenc.h +++ b/libavcodec/nvenc.h @@ -144,7 +144,7 @@ typedef struct NvencContext CUcontext cu_context; CUcontext cu_context_internal; - int max_surface_count; + int nb_surfaces; NvencSurface *surfaces; AVFifoBuffer *output_surface_queue; @@ -175,7 +175,7 @@ typedef struct NvencContext int twopass; int gpu; int flags; - int buffer_delay; + int async_depth; } NvencContext; int ff_nvenc_encode_init(AVCodecContext *avctx); |