VideoDecoderAVC: Add timestamp checking when first slice is lost.

BZ: 28186

In a streaming case, the first slice is lost, so the mix
doesn't treat it as a new frame, then call continueDecodingFrame
causing decode fail.
Add timestamp checking when first slice is lost. if have difference
timestamp then treat it as new frame. It is a workaround here.

Change-Id: I053d016aef83816d49cb31f965e54d2f2433ba45
Signed-off-by: xiao <fengx.xiao@intel.com>
Reviewed-on: http://android.intel.com:8080/40784
Reviewed-by: Qiu, Junhai <junhai.qiu@intel.com>
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
2 files changed