mirror of https://git.ffmpeg.org/ffmpeg.git
avutil/hwcontext_cuda: increase CUDA frame alignment to 512
At least on Turing, a frame without 512 byte alignment cannot be passed to cuTexObjectCreate.
This commit is contained in:
parent
1c430f6045
commit
d5763edab2
|
@ -30,7 +30,7 @@
|
|||
#include "pixfmt.h"
|
||||
#include "imgutils.h"
|
||||
|
||||
#define CUDA_FRAME_ALIGNMENT 256
|
||||
#define CUDA_FRAME_ALIGNMENT 512
|
||||
|
||||
typedef struct CUDAFramesContext {
|
||||
int shift_width, shift_height;
|
||||
|
|
Loading…
Reference in New Issue