A method and device are provided for synchronizing the presentation of
audio frames and/or of video frames comprises the detection of
presentation time stamps in a stream of frames. The presentation instant
indicated by a time stamp is compared with a time delivered by a local
reference clock. Depending on a variance and on an average of values of
deviation between presentation instants and corresponding times indicated
by the clock, the clock can be initialized according to the presentation
instant indicated by a time stamp or the presentation of the frames can
be adjusted.