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

Function time_value_string

ffprobe.c:93–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93static char *time_value_string(char *buf, int buf_size, int64_t val, const AVRational *time_base)
94{
95 if (val == AV_NOPTS_VALUE) {
96 snprintf(buf, buf_size, "N/A");
97 } else {
98 value_string(buf, buf_size, val * av_q2d(*time_base), unit_second_str);
99 }
100
101 return buf;
102}
103
104static const char *media_type_string(enum AVMediaType media_type)
105{

Callers 2

show_streamFunction · 0.85
show_formatFunction · 0.85

Calls 2

value_stringFunction · 0.85
av_q2dFunction · 0.85

Tested by

no test coverage detected