def METHOD_NAME(self, pdu: PlayerPDU):
    super().METHOD_NAME(pdu)
    # Make sure the rendering surface has been created.
    if self.imageHandler.screen is None:
        return
    ts = pdu.timestamp
    self.timestamp = ts
    if self.prevTimestamp is None:
        dt = self.delta
    else:
        dt = self.timestamp - self.prevTimestamp  # ms
    nframes = (dt // self.delta)
    if nframes > 0:
        for _ in range(nframes):
            self.writeFrame()
        self.prevTimestamp = ts
        self.log.debug('Rendered %d still frame(s)', nframes)