Patent ID: 8693553

Claim:
A method comprising: receiving a video frame at a decoder and determining that the received video frame is a key video frame; maintaining a next key frame timestamp; receiving a further video frame at the decoder and determining that the received further video frame is a non-key video frame; determining at the decoder that the non-key video frame is late in arriving at the decoder by comparing the time stamp of the non-key video frame to a current audio playback position time stamp, wherein the current audio playback position time stamp represents the current position of the audio playback; and determining at the decoder that further non-key video frames received until the next key video frame are dropped depending on whether the non-key video frames arrive late at the decoder and whether the next key frame timestamp is within a calculated drop time window, wherein the drop time window is calculated to represent the amount of time required to decode the next key video frame and to decode a quantity of non-key video frames consecutively subsequent to the received key video frame sufficient to fill an output buffer.