From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/media/test-drivers/vivid/vivid-vid-cap.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/kernel/drivers/media/test-drivers/vivid/vivid-vid-cap.c b/kernel/drivers/media/test-drivers/vivid/vivid-vid-cap.c
index d493bd1..437889e 100644
--- a/kernel/drivers/media/test-drivers/vivid/vivid-vid-cap.c
+++ b/kernel/drivers/media/test-drivers/vivid/vivid-vid-cap.c
@@ -961,6 +961,7 @@
if (dev->has_compose_cap) {
v4l2_rect_set_min_size(compose, &min_rect);
v4l2_rect_set_max_size(compose, &max_rect);
+ v4l2_rect_map_inside(compose, &fmt);
}
dev->fmt_cap_rect = fmt;
tpg_s_buf_height(&dev->tpg, fmt.height);
--
Gitblit v1.6.2