summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-01-16 17:38:58 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-01-16 19:40:45 +0200
commit43c3a07f5812bfe32b1d65cced7f4d07213e1c72 (patch)
tree39802fb5ff9e0f3b849c333700dbc8d4b81797b8 /libmpcodecs
parent6ead3e936b8344d13c56567142d95cff0d4d8c90 (diff)
downloadmpv-43c3a07f5812bfe32b1d65cced7f4d07213e1c72.tar.bz2
mpv-43c3a07f5812bfe32b1d65cced7f4d07213e1c72.tar.xz
subtitles: avoid running subreader.c parser when using libass
When loading external subtitle files, the code always tried parsing the file with subreader.c sub_read_file() first, even if libass was then used to parse and render the file (the results of the first parsing would be ignored in that case). This could cause problems like unnecessary error messages. Change the code to try libass parsing first if enabled, and skip subreader.c parsing if that succeeds.
Diffstat (limited to 'libmpcodecs')
0 files changed, 0 insertions, 0 deletions