mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
msm: vidc: Amend the check to reset data corrupt flag
We should reset the data corrupt flag only for codecs other than H264 and MPEG-2 in line with the video firmware support. Hence, modify the conditional check. Change-Id: I7c4d5557a3f9b1d1762fe7cfcd5693a6760188f0 Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org> (cherry picked from commit c165675bf03feb182bfd46d2ac5ceebcf4987f74) Signed-off-by: Manish Kumar <manishku@codeaurora.org>
This commit is contained in:
parent
f9fd1434a4
commit
9044dea422
1 changed files with 1 additions and 1 deletions
|
@ -1258,7 +1258,7 @@ static u32 ddl_decoder_output_done_callback(
|
|||
output_vcd_frm->flags |=
|
||||
VCD_FRAME_FLAG_DATACORRUPT;
|
||||
}
|
||||
if (decoder->codec.codec != VCD_CODEC_H264 ||
|
||||
if (decoder->codec.codec != VCD_CODEC_H264 &&
|
||||
decoder->codec.codec != VCD_CODEC_MPEG2)
|
||||
output_vcd_frm->flags &= ~VCD_FRAME_FLAG_DATACORRUPT;
|
||||
output_vcd_frm->ip_frm_tag = dec_disp_info->tag_top;
|
||||
|
|
Loading…
Reference in a new issue