From 5e5d5d6e29218ecabe21b04b793b4d3f64feb179 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Tue, 23 Aug 2022 20:23:10 +0000 Subject: [PATCH] resampler: Use transformed width as destination stride Fixes #72 --- src/resampler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resampler.c b/src/resampler.c index 0f4a138..797b3aa 100644 --- a/src/resampler.c +++ b/src/resampler.c @@ -183,7 +183,7 @@ int resampler_feed(struct resampler* self, struct nvnc_fb* fb, nvnc_transform_dimensions(fb->transform, &width, &height); nvnc_fb_pool_resize(self->pool, width, height, fb->fourcc_format, - fb->stride); + width); struct aml* aml = aml_get_default(); assert(aml);