diff --git a/content/media/ogg/nsOggReader.cpp b/content/media/ogg/nsOggReader.cpp index 1d2577fc783..a9189cfdcbb 100644 --- a/content/media/ogg/nsOggReader.cpp +++ b/content/media/ogg/nsOggReader.cpp @@ -758,7 +758,7 @@ PRBool nsOggReader::DecodeVideoFrame(PRBool &aKeyframeSkip, aKeyframeSkip = PR_FALSE; } - if (!aKeyframeSkip) { + if (!aKeyframeSkip && data->mEndTime >= aTimeThreshold) { mVideoQueue.Push(data.forget()); decoded++; }