msm_vidc: Add error check for clock scaling.

Clock scaling uses timestamp to determine the current fps.
Timestamp for some frames might be invalid and shouldn't
be used to calculate the fps. Add a check to handle this case.

Change-Id: I8c570b131d11b1d2644806714fe2a726ca155eb5
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
1 file changed