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:
parent
008f057bba
commit
51c0005150
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue