diff options
author | Oneric <oneric@oneric.stub> | 2022-10-04 01:16:30 +0200 |
---|---|---|
committer | Oneric <oneric@oneric.stub> | 2022-10-14 20:21:09 +0200 |
commit | 75a3dbac9bd41842a4d00b0d42c9513e2c8aec67 (patch) | |
tree | b34f583444de02d4d0abf28f63d6b5c6b95049c4 /libass/ass_parse.h | |
parent | 82c654056acfc240ef1400c2bdc67489be0d98fd (diff) | |
download | libass-75a3dbac9bd41842a4d00b0d42c9513e2c8aec67.tar.bz2 libass-75a3dbac9bd41842a4d00b0d42c9513e2c8aec67.tar.xz |
Parse ScriptType header
VSFilter uses it for Dialogue lines and Style lines
not preceeded by a styles section header.
libass requires section headers to parse styles,
but this still helps for files without a Styles
section (placed before the Events section) and
also makes our legacy-FFmpeg detection more accurate.
In fact, VSFilter takes _only_ the ScriptType
header into account for Dialogue lines and keeps
a separate version for styles which is also affected
by style section headers.
This dual versioning is not implemented by this commit and the
lack of any issue reports about it suggests such files may not
exist in practice. If however it turned out they do, an additional
version variable can be added to parser_priv and we need to decide
which one to present to API users.
Diffstat (limited to 'libass/ass_parse.h')
0 files changed, 0 insertions, 0 deletions