mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1069857- clear seek timestamp in time. r=jwwang r=cpearce
This commit is contained in:
parent
9dc4fd68a2
commit
922fdfd2ab
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user