amvideo: set black_threshold_height default 48 [1/1]
authorjintao xu <jintao.xu@amlogic.com>
Tue, 21 May 2019 11:47:32 +0000 (19:47 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Fri, 24 May 2019 01:32:08 +0000 (18:32 -0700)
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 <jintao.xu@amlogic.com>
drivers/amlogic/media/video_sink/video.c

index 862a3e9..e46c933 100644 (file)
@@ -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;