mirror of https://github.com/FFmpeg/FFmpeg.git
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 frompull/390/head86b252ea9d
Fix #10621 Signed-off-by: Anton Khirnov <anton@khirnov.net> (cherry picked from commit6667741029
) Signed-off-by: Anton Khirnov <anton@khirnov.net>
parent
3d7c02e4a2
commit
c5ee01d966
1 changed files with 9 additions and 4 deletions
Loading…
Reference in new issue