msm: vidc: Reduce the priority of incorrect PAR value message

We get the error message for the incorrect aspect ratio
with each frame of the video. By reducing the priority,
error message will appear only when we enable it.

Change-Id: Iacb8002383ea6c0b7ee86e9cfe14478c0e5ca5c3
Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
This commit is contained in:
Deepak Verma 2012-08-09 20:44:04 +05:30 committed by Stephen Boyd
parent 580b81a5d4
commit 5218c0ec5c

View file

@ -897,7 +897,7 @@ void vidc_sm_get_aspect_ratio_info(struct ddl_buf_addr *shared_mem,
VIDC_SM_EXTENDED_PAR_HEIGHT_SHFT); VIDC_SM_EXTENDED_PAR_HEIGHT_SHFT);
break; break;
default: default:
DDL_MSG_ERROR("Incorrect Aspect Ratio."); DDL_MSG_HIGH("Incorrect Aspect Ratio.");
aspect_ratio_info->par_width = 1; aspect_ratio_info->par_width = 1;
aspect_ratio_info->par_height = 1; aspect_ratio_info->par_height = 1;
break; break;
@ -955,7 +955,7 @@ void vidc_sm_get_aspect_ratio_info(struct ddl_buf_addr *shared_mem,
VIDC_SM_EXTENDED_PAR_HEIGHT_SHFT); VIDC_SM_EXTENDED_PAR_HEIGHT_SHFT);
break; break;
default: default:
DDL_MSG_ERROR("Incorrect Aspect Ratio."); DDL_MSG_HIGH("Incorrect Aspect Ratio.");
aspect_ratio_info->par_width = 1; aspect_ratio_info->par_width = 1;
aspect_ratio_info->par_height = 1; aspect_ratio_info->par_height = 1;
break; break;