diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-03-22 15:09:49 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-04-09 15:47:45 +0200 |
commit | 81cca3dae34b78b367a183fd1726d83f67dbf326 (patch) | |
tree | 0ca85dce8f74305c095c79de0872d842841c8040 /tests | |
parent | 9a85245adfdb259da27a50e7822a7c842e5a3247 (diff) | |
download | ffmpeg-81cca3dae34b78b367a183fd1726d83f67dbf326.tar.gz |
fftools/sync_queue: make sure audio duration matches sample count
For audio AVFrames, nb_samples is typically more trustworthy than
duration. Since sync queues look at durations, make sure they match the
sample count.
The last audio frame in the fate-shortest test is now gone. This is more
correct, since it outlasts the last video frame.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ref/fate/shortest | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/ref/fate/shortest b/tests/ref/fate/shortest index be93ff0da1..b5845508cf 100644 --- a/tests/ref/fate/shortest +++ b/tests/ref/fate/shortest @@ -115,4 +115,3 @@ 0, 48, 48, 1, 11212, 0xc61a3f0a, S=1, 8 1, 85760, 85760, 1536, 418, 0xae06ca91 0, 49, 49, 1, 1423, 0x45fba9e4, F=0x0, S=1, 8 -1, 87296, 87296, 1536, 418, 0x7bdcc3c7 |