]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/nvenc.h
avcodec/pafvideo: Only clear frame when it was written to
[ffmpeg] / libavcodec / nvenc.h
index 46ad7972bc3bc4d3c7014af2e2b2f8869ead866b..a269bd97bbab1602392be0ac7d74e8cf975da1cd 100644 (file)
@@ -57,6 +57,8 @@ typedef void ID3D11Device;
 // SDK 9.1 compile time feature checks
 #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
@@ -132,6 +134,7 @@ typedef struct NvencContext
     NV_ENC_CONFIG encode_config;
     CUcontext cu_context;
     CUcontext cu_context_internal;
+    CUstream cu_stream;
     ID3D11Device *d3d11_device;
 
     int nb_surfaces;