media_module: add debug level limit for hdr info

Change-Id: I6c9f1bc8f66366b1859230886978409880c9b621
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
diff --git a/drivers/frame_provider/decoder/h265/vh265.c b/drivers/frame_provider/decoder/h265/vh265.c
index 8ed199e..1abd329 100644
--- a/drivers/frame_provider/decoder/h265/vh265.c
+++ b/drivers/frame_provider/decoder/h265/vh265.c
@@ -6177,8 +6177,9 @@
 					hevc->luminance[1]);*/
 				break;
 			case SEI_ContentLightLevel:
-				hevc_print(hevc, 0,
-					"sei type: max content light level %d, size %d\n",
+				if (get_dbg_flag(hevc) & H265_DEBUG_PRINT_SEI)
+					hevc_print(hevc, 0,
+						"sei type: max content light level %d, size %d\n",
 					payload_type, payload_size);
 				/* content_light_level */
 				p_sei = p;
@@ -6190,8 +6191,9 @@
 				p_sei += 2;
 				hevc->sei_present_flag |=
 					SEI_CONTENT_LIGHT_LEVEL_MASK;
-				hevc_print(hevc, 0,
-					"\tmax cll = %04x, max_pa_cll = %04x\n",
+				if (get_dbg_flag(hevc) & H265_DEBUG_PRINT_SEI)
+					hevc_print(hevc, 0,
+						"\tmax cll = %04x, max_pa_cll = %04x\n",
 					hevc->content_light_level[0],
 					hevc->content_light_level[1]);
 				break;