setDuration in Segment and Frame; clearBuffer in FrameQueueBuffer