Lines Matching defs:times
99 char *times_str; ///< segment times specification string
100 int64_t *times; ///< list of segment interval specification
101 int nb_times; ///< number of elments in the times array
459 static int parse_times(void *log_ctx, int64_t **times, int *nb_times,
477 *times = av_malloc_array(*nb_times, sizeof(**times));
478 if (!*times) {
479 av_log(log_ctx, AV_LOG_ERROR, "Could not allocate forced times array\n");
490 av_log(log_ctx, AV_LOG_ERROR, "Empty time specification in times list %s\n",
498 "Invalid time duration specification '%s' in times list %s\n", tstr, times_str);
501 (*times)[i] = t;
504 if (i && (*times)[i-1] > (*times)[i]) {
507 (float)((*times)[i])/1000000, (float)((*times)[i-1])/1000000);
659 av_freep(&seg->times);
702 if ((ret = parse_times(s, &seg->times, &seg->nb_times, seg->times_str)) < 0)
868 if (seg->times) {
870 seg->times[seg->segment_count] : INT64_MAX;
918 if (seg->times || (!seg->frames && !seg->use_clocktime) && seg->write_empty)
1035 { "segment_time_delta","set approximation value used for the segment times", OFFSET(time_delta), AV_OPT_TYPE_DURATION, {.i64 = 0}, 0, INT64_MAX, E },