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

Function print_fps

libavformat/utils.c:2992–2997  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2990}
2991
2992static void print_fps(double d, const char *postfix){
2993 uint64_t v= lrintf(d*100);
2994 if (v% 100 ) av_log(NULL, AV_LOG_INFO, ", %3.2f %s", d, postfix);
2995 else if(v%(100*1000)) av_log(NULL, AV_LOG_INFO, ", %1.0f %s", d, postfix);
2996 else av_log(NULL, AV_LOG_INFO, ", %1.0fk %s", d/1000, postfix);
2997}
2998
2999static void dump_metadata(void *ctx, AVMetadata *m, const char *indent)
3000{

Callers 1

dump_stream_formatFunction · 0.85

Calls 2

lrintfFunction · 0.85
av_logFunction · 0.85

Tested by

no test coverage detected