resampler: Use transformed width as destination stride

Fixes #72
pull/74/head
Andri Yngvason 2022-08-23 20:23:10 +00:00
parent f00570146b
commit 5e5d5d6e29
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);