Patent ID: 8374114

Claim:
A method for organizing video frames within superframes of a broadcast signal, comprising: receiving a frame, each frame including a presentation timestamp and decode timestamp; determining seconds and milliseconds components of the presentation timestamps and decode timestamps of the received frame; comparing the seconds component of the presentation timestamps of the received frame to a first frame in a first superframe; determining whether the seconds component of the presentation timestamp of the received frame is greater than the second component of the presentation timestamp of the first frame; determining whether the decode timestamps of the received frame is greater than the decode timestamps of the first frame if the seconds component of the presentation timestamp of the received frame is not greater than the second component of the presentation timestamp of the first frame; searching for a previous superframe if the decode timestamps of the received frame is not greater than the decode timestamps of the first frame; determining whether the previous superframe is available; discarding the received frame if the previous superframe is not available; placing the received frame in the previous superframe if previous superframe is available; and placing the received frame in order of decode timestamps in the first superframe after the first frame if the decode timestamps of the received frame is greater than the decode timestamps of the first frame.