mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue