Bug 1069857- clear seek timestamp in time. r=jwwang r=cpearce

This commit is contained in:
Blake Wu 2014-09-24 09:41:49 +08:00
parent 9dc4fd68a2
commit 922fdfd2ab

View File

@ -351,6 +351,7 @@ bool MediaOmxReader::DecodeVideoFrame(bool &aKeyframeSkip,
return false;
}
doSeek = false;
mVideoSeekTimeUs = -1;
// Ignore empty buffer which stagefright media read will sporadically return
if (frame.mSize == 0 && !frame.mGraphicBuffer) {
@ -365,7 +366,6 @@ bool MediaOmxReader::DecodeVideoFrame(bool &aKeyframeSkip,
mSkipCount = 0;
mVideoSeekTimeUs = -1;
aKeyframeSkip = false;
IntRect picture = ToIntRect(mPicture);