Nvenc: enforce width/height to be divisible by 32
This commit is contained in:
@@ -57,7 +57,8 @@ private:
|
||||
vk::Image luma;
|
||||
vk::Image chroma;
|
||||
CUdeviceptr frame;
|
||||
uint32_t pitch;
|
||||
uint32_t width;
|
||||
uint32_t height;
|
||||
NV_ENC_REGISTERED_PTR nvenc_resource;
|
||||
float fps;
|
||||
int bitrate;
|
||||
|
||||
Reference in New Issue
Block a user