A video decoder and a method for using the same are provided. Selected frames of a video stream are trimmed during the decoding of the video stream. The video stream is received. The video stream includes, I, P, and B frames. Only predetermined portions of each B frame of the video stream are decoded.