avutil/hwcontext_cuda: add CUstream in cuda hwctx

This commit is contained in:
Timo Rothenpieler 2018-05-07 15:01:22 +02:00
parent baabd3c2ad
commit c855683427
5 changed files with 12 additions and 3 deletions

View file

@ -41,6 +41,7 @@ typedef struct AVCUDADeviceContextInternal AVCUDADeviceContextInternal;
*/
typedef struct AVCUDADeviceContext {
CUcontext cuda_ctx;
CUstream stream;
AVCUDADeviceContextInternal *internal;
} AVCUDADeviceContext;