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

Function avtext_print_ts

fftools/textformat/avtextformat.c:504–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

502}
503
504void avtext_print_ts(AVTextFormatContext *tctx, const char *key, int64_t ts, int is_duration)
505{
506 if ((!is_duration && ts == AV_NOPTS_VALUE) || (is_duration && ts == 0))
507 avtext_print_string(tctx, key, "N/A", AV_TEXTFORMAT_PRINT_STRING_OPTIONAL);
508 else
509 avtext_print_integer(tctx, key, ts, 0);
510}
511
512static void print_data_xxd(AVBPrint *bp, const uint8_t *data, int size)
513{

Callers

nothing calls this directly

Calls 2

avtext_print_stringFunction · 0.85
avtext_print_integerFunction · 0.85

Tested by

no test coverage detected