MLK-21524: VPU Decoder: tsm ignore invalid timestamp in some case
authorming_qian <ming.qian@nxp.com>
Tue, 23 Apr 2019 09:24:36 +0000 (17:24 +0800)
committerming_qian <ming.qian@nxp.com>
Wed, 24 Apr 2019 02:58:08 +0000 (10:58 +0800)
commitbe4ba211d259781211f74710a9d19c9a4607ea7a
tree89f42cf98cf80990b981ca1795595e8b9ab4192a
parent1dbde955b09b30bc7e368f1a8bdc4dd17f3577ab
MLK-21524: VPU Decoder: tsm ignore invalid timestamp in some case

If one frame is split into several buffers.
The timestamp of the first buffer is valid, others are invalid.
TSManagerGetLastTimeStamp() will try to get the last timestamp of frame.
it may get a invalid timestamp. and this will output some wrong timestamp.
so ignore these invalid timestamp

Signed-off-by: ming_qian <ming.qian@nxp.com>
drivers/mxc/vpu_malone/vpu_ts.c