From 17cdaf36e852384cef822c87d5d2636c78f2eeac Mon Sep 17 00:00:00 2001 From: jintao xu Date: Tue, 21 May 2019 19:47:32 +0800 Subject: [PATCH] amvideo: set black_threshold_height default 48 [1/1] PD#OTT-1836 Problem: disable video when window is too small Solution: set black_threshold_height default 48 Verify: U212 Change-Id: I9ed7deb54baef1c44bb9cc0c1a4d699140663864 Signed-off-by: jintao xu --- drivers/amlogic/media/video_sink/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/amlogic/media/video_sink/video.c b/drivers/amlogic/media/video_sink/video.c index 862a3e9..e46c933 100644 --- a/drivers/amlogic/media/video_sink/video.c +++ b/drivers/amlogic/media/video_sink/video.c @@ -458,7 +458,7 @@ static u32 reference_zorder = 128; /* default value 20 30 */ static s32 black_threshold_width = 20; -static s32 black_threshold_height = 30; +static s32 black_threshold_height = 48; static struct vframe_s hist_test_vf; static bool hist_test_flag; -- 2.7.4