From 3b2697b90fa57e4de05c49a0d17a74106bf5c555 Mon Sep 17 00:00:00 2001 From: Brian Zhu Date: Sat, 5 May 2018 00:11:22 +0800 Subject: [PATCH] vpp: use correct width to select the min skip ratio PD#165601: vpp: use correct width to select the min skip ratio Change-Id: Idcf9ff250c4d6af089dd2b8a25285b81c849a78a Signed-off-by: Brian Zhu --- drivers/amlogic/media/video_sink/vpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/amlogic/media/video_sink/vpp.c b/drivers/amlogic/media/video_sink/vpp.c index 8206a04..c1caa1d 100644 --- a/drivers/amlogic/media/video_sink/vpp.c +++ b/drivers/amlogic/media/video_sink/vpp.c @@ -669,7 +669,7 @@ vpp_process_speed_check(s32 width_in, cur_proc_height = max_height; - if (vf->width > 720) + if (width_in > 720) min_ratio_1000 = min_skip_ratio; else min_ratio_1000 = 1750; -- 2.7.4