resampler: Use transformed width as destination stride

Fixes #72
v0.5
Andri Yngvason 2022-08-23 20:23:10 +00:00
parent bf332bd91f
commit 05d408511f
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ int resampler_feed(struct resampler* self, struct nvnc_fb* fb,
nvnc_transform_dimensions(fb->transform, &width, &height); nvnc_transform_dimensions(fb->transform, &width, &height);
nvnc_fb_pool_resize(self->pool, width, height, fb->fourcc_format, nvnc_fb_pool_resize(self->pool, width, height, fb->fourcc_format,
fb->stride); width);
struct aml* aml = aml_get_default(); struct aml* aml = aml_get_default();
assert(aml); assert(aml);