msm: vidc: Propagate time stamp information even filled length is zero

Few msm targets do not have video concealment support.
As concealment not happening for corrupted frames,
filled length will be zero. But video clients are expecting
time stamp information for corrupted frames as well.
Remove filled length verification to propagate timestamp information.

CRs-Fixed: 1041031
Change-Id: Ic3d204189f9ecb812705f501f269c085c8bbe34f
Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>
Signed-off-by: Karthikeyan Periasamy <kperiasa@codeaurora.org>
This commit is contained in:
Srinu Gorle 2016-07-15 15:31:44 +05:30 committed by Karthikeyan Periasamy
parent 008f057bba
commit 51c0005150

View file

@ -2011,8 +2011,7 @@ static void handle_fbd(enum hal_command_response cmd, void *data)
vb->planes[0].bytesused,
vb->planes[0].length);
if (!(fill_buf_done->flags1 &
HAL_BUFFERFLAG_TIMESTAMPINVALID) &&
fill_buf_done->filled_len1) {
HAL_BUFFERFLAG_TIMESTAMPINVALID)) {
time_usec = fill_buf_done->timestamp_hi;
time_usec = (time_usec << 32) |
fill_buf_done->timestamp_lo;