summaryrefslogtreecommitdiff
path: root/libavcodec/nvenc.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/nvenc.h')
-rw-r--r--libavcodec/nvenc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/nvenc.h b/libavcodec/nvenc.h
index 3602f16e83..b42b930920 100644
--- a/libavcodec/nvenc.h
+++ b/libavcodec/nvenc.h
@@ -56,7 +56,6 @@ typedef struct NVENCFrame {
NV_ENC_OUTPUT_PTR out;
NV_ENC_BUFFER_FORMAT format;
- int locked;
} NVENCFrame;
typedef CUresult(CUDAAPI *PCUINIT)(unsigned int Flags);
@@ -145,7 +144,7 @@ typedef struct NVENCContext {
int nb_surfaces;
NVENCFrame *frames;
AVFifoBuffer *timestamps;
- AVFifoBuffer *pending, *ready;
+ AVFifoBuffer *pending, *ready, *unused_surface_queue;
struct {
CUdeviceptr ptr;