diff options
author | Marvin Scholz <epirat07@gmail.com> | 2023-11-07 23:21:17 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-11-09 11:11:00 +0100 |
commit | 6667741029bce9a79b48caedf24d6cb69c5ead7d (patch) | |
tree | 41f5ac2bf955849e3c071c8b86c55d68dddbfd2d /tests/ref | |
parent | 99fcdee5e80db8a2a8ff1ea9b66a9b74d8f96f67 (diff) | |
download | ffmpeg-6667741029bce9a79b48caedf24d6cb69c5ead7d.tar.gz |
avfilter/vf_tpad: fix check for drawing initialization
The check if drawing needs to be initialized and supported formats
should be drawable ones was flawed, as pad_stop/pad_start is only
populated from stop_duration/start_duration after these checks.
To fix that, check the _duration variants as well and for better
readability and maintainability break the check out into its own
helper.
Fixes a regression from 86b252ea9dee18006910e30646ad1067f2d1323f
Fix #10621
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'tests/ref')
0 files changed, 0 insertions, 0 deletions