MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / log_read_interval

Function log_read_interval

fftools/ffprobe.c:1569–1591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1567}
1568
1569static void log_read_interval(const ReadInterval *interval, void *log_ctx, int log_level)
1570{
1571 av_log(log_ctx, log_level, "id:%d", interval->id);
1572
1573 if (interval->has_start) {
1574 av_log(log_ctx, log_level, " start:%s%s", interval->start_is_offset ? "+" : "",
1575 av_ts2timestr(interval->start, &AV_TIME_BASE_Q));
1576 } else {
1577 av_log(log_ctx, log_level, " start:N/A");
1578 }
1579
1580 if (interval->has_end) {
1581 av_log(log_ctx, log_level, " end:%s", interval->end_is_offset ? "+" : "");
1582 if (interval->duration_frames)
1583 av_log(log_ctx, log_level, "#%"PRId64, interval->end);
1584 else
1585 av_log(log_ctx, log_level, "%s", av_ts2timestr(interval->end, &AV_TIME_BASE_Q));
1586 } else {
1587 av_log(log_ctx, log_level, " end:N/A");
1588 }
1589
1590 av_log(log_ctx, log_level, "\n");
1591}
1592
1593static int read_interval_packets(AVTextFormatContext *tfc, InputFile *ifile,
1594 const ReadInterval *interval, int64_t *cur_ts)

Callers 2

read_interval_packetsFunction · 0.85
parse_read_intervalsFunction · 0.85

Calls 1

av_logFunction · 0.85

Tested by

no test coverage detected