diff options
author | Oleg Dobkin <olegd@anyvision.co> | 2019-11-18 15:35:49 +0200 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2019-11-26 16:24:40 +0100 |
commit | 32ba563cfccd41cc9b8c69674495fc1d8d705283 (patch) | |
tree | efa92050c3812a01f4ce59370aa2c0d01d2a7630 /libavutil/hwcontext_cuda_internal.h | |
parent | 59d264b0a1218094709d61e30c9056c90859567f (diff) |
avutil/hwcontext_cuda: allow using primary CUDA device context
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavutil/hwcontext_cuda_internal.h')
-rw-r--r-- | libavutil/hwcontext_cuda_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/hwcontext_cuda_internal.h b/libavutil/hwcontext_cuda_internal.h index e1bc6ff350..d5633c58d5 100644 --- a/libavutil/hwcontext_cuda_internal.h +++ b/libavutil/hwcontext_cuda_internal.h @@ -31,6 +31,8 @@ struct AVCUDADeviceContextInternal { CudaFunctions *cuda_dl; int is_allocated; + CUdevice cuda_device; + int flags; }; #endif /* AVUTIL_HWCONTEXT_CUDA_INTERNAL_H */ |