summaryrefslogtreecommitdiffstats
path: root/compare
Commit message (Collapse)AuthorAgeFilesLines
* compare: fix _mkdir include on WindowsOneric2021-07-091-0/+1
| | | | | | To use Microsoft's _mkdir one must include direct.h, not sys/stat.h as for POSIX's mkdir. This is still true with modern MinGW headers used. The sys/stat.h include remains required for stat.
* compare: move libass log to stderrDr.Smile2021-06-101-3/+3
|
* compare: introduce customizable threshold to pass testDr.Smile2021-06-102-24/+71
|
* compare: use case-insensitive comparisons for file extensionsDr.Smile2021-06-101-17/+43
|
* compare: add support for multiple input directoriesDr.Smile2021-06-102-32/+44
|
* compare: reorganize codeDr.Smile2021-06-101-105/+100
|
* compare: fix compilation under MinGWDr.Smile2021-05-081-1/+7
| | | | | Replace missing strndup() with its standard C equivalent and circumvent unimplemented second argument of mkdir().
* compare: replace int with size_t for array sizes and string lengthsDr.Smile2021-05-031-7/+7
| | | | It's technically more correct.
* Fix embedded and memory fontsOneric2021-04-221-0/+1
| | | | | | | | | | | Previously only both only worked when ass_set_fonts was called after all embedded and memory fonts were already added. Especially for embedded fonts this meant it won't work for most users, except mpv, including our own utilities, even if extract_fonts was set. Now that it works, enable extract_fonts in our utilities. GitHub: fixes #266
* ass_library: Constify ass_add_fontHugo Beauzée-Luyssen2020-11-011-1/+1
| | | | | Both parameters are copied and are immutable. Make it clear through the function prototype
* compare: set storage size before renderingDr.Smile2020-10-151-0/+1
| | | | | | This is a measure to facilitate testing with different script and video resolutions. The target PNG file size (unscaled) is used as video size.
* compare: Fix millisecond zero paddingOneric2020-06-152-5/+5
| | | | | Padding should be 3 digits not 4, otherwise 2252ms are displayed as '0:00:02.0252' instead of '0:00:02.252'.
* Add infrastructure for regression testingDr.Smile2020-05-0713-0/+1011
`test` subdirectory contains complete test example.