Lines Matching defs:duration
76 int64_t duration;
730 int64_t duration = 0;
916 duration = atof(ptr) * AV_TIME_BASE;
984 if (duration < 0.001 * AV_TIME_BASE) {
987 duration = 0.001 * AV_TIME_BASE;
989 seg->duration = duration;
1014 c->first_timestamp += prev_segments[i]->duration;
1418 pls->segments[pls->n_segments - 1]->duration :
1512 * interval of half the target duration. */
1698 int64_t diff = pos + pls->segments[i]->duration - timestamp;
1706 pos += pls->segments[i]->duration;
1758 playlist_duration += pls->segments[i]->duration;
1761 * the duration of the playlist, it indicates either the end of the
1972 /* If this isn't a live stream, calculate the total duration of the
1975 int64_t duration = 0;
1977 duration += c->variants[0]->playlists[0]->segments[i]->duration;
1978 s->duration = duration;
2246 if (pls->pkt->duration)
2247 pls->id3_offset += pls->pkt->duration;
2251 /* there have been packets with unknown duration
2256 if (pls->pkt->duration)
2257 pls->pkt->duration = av_rescale_q(pls->pkt->duration,
2433 int64_t first_timestamp, seek_timestamp, duration;
2446 duration = s->duration == AV_NOPTS_VALUE ?
2447 0 : s->duration;
2449 if (0 < duration && duration < seek_timestamp - first_timestamp)