Lines Matching refs:duration
15 // Arbitrary decision about the frame duration when there is no previous
16 // hint about what could be the frame duration.
19 // To calculate the frame duration, we make an assumption
23 // cases. However, the right way to calculate the frame duration would be
110 if (buffer->duration() == kNoTimestamp()) {
115 DVLOG(LOG_LEVEL_ES) << "Using last frame duration: "
119 base::TimeDelta duration = next_frame_pts - buffer->timestamp();
120 DVLOG(LOG_LEVEL_ES) << "Frame duration: " << duration.InMilliseconds();
121 buffer->set_duration(duration);
129 last_frame_duration_ = buffer->duration();