| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
The test program unnecessarily was using a few C++ features. Convert it
to plain C to make everything work without a C++ compiler.
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce functionality for providing a message callback that is used
for passing messages to the controlling application instead of simply
printing them to standard output. The function pointer to the callback
is stored in the ass_library_t instance. ass_msg needs access to it, so
in many places the library instance needs to be passed around now.
The default behavior is the old one: messages of MSGL_INFO or lower
are printed to the standard output, prefixed with "[ass]".
|
|
|
|
| |
Stop in case the track initialization fails. This fixes a crash.
|
|
|
|
|
|
| |
Use a uniformly colored background in the test program. This looks
better than the randomly-looking pattern that was used before.
A chessboard pattern would be even better, but this will do for now.
|
|
|
|
|
|
|
| |
Optionally pass a fontconfig config file to the fontconfig
initialisation.
This changes the public API.
|
|
|
|
|
|
|
|
|
| |
ass_set_fonts_ was wrapped through ass_set_fonts and ass_set_fonts_nofc
to either use fontconfig or not. This is not very useful, since a simple
parameter to ass_set_fonts_ can be used instead. Remove the wrapper
functions and rename the real function to ass_set_fonts.
This changes the public API.
|
|
|