ffmpeg/tests/ref/fate/timestamp
marcos ashton fa3d20072b tests/fate/libavutil: add FATE test for timestamp
Test av_ts_make_string with NOPTS, zero, positive, negative, and
INT64 boundary values, av_ts2str macro, av_ts_make_time_string2
with various timebases, and av_ts_make_time_string pointer
variant.

Coverage for libavutil/timestamp.c: 0.00% -> 100.00%
2026-04-28 16:17:47 +00:00

23 lines
388 B
Text

Testing av_ts_make_string()
NOPTS: NOPTS
0: 0
90000: 90000
-1: -1
INT64_MAX: 9223372036854775807
INT64_MIN+1: -9223372036854775807
Testing av_ts2str()
NOPTS: NOPTS
48000: 48000
Testing av_ts_make_time_string2()
NOPTS: NOPTS
90000 at 1/90000: 1
0 at 1/1000: 0
48000 at 1/48000: 1
44100 at 1/44100: 1
-90000 at 1/90000: -1
Testing av_ts_make_time_string()
5000 at 1/1000: 5
NOPTS: NOPTS