diff options
author | wm4 <wm4@nowhere> | 2013-06-23 22:17:01 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-06-25 00:11:56 +0200 |
commit | 5da89f8d2cbb8a787851eaefc39238784a62fe59 (patch) | |
tree | 514e2d7d1f89247b460532aaac21c9dbf4a207f3 /sub | |
parent | 29cec6f98ba523025acdd1aea42795985e32306f (diff) | |
download | mpv-5da89f8d2cbb8a787851eaefc39238784a62fe59.tar.bz2 mpv-5da89f8d2cbb8a787851eaefc39238784a62fe59.tar.xz |
demux_libass: do charset conversion by -subcp
Old code used to use libass' recoding feature, which is a copy of the
old MPlayer code. We dropped that a few commits ago. Unfortunately,
this made it impossible to load some subtitle files, like UTF-16 files.
Make .ass loading respect -subcp again. We do this by recoding the
probe buffer to UTF-8, and then trying to load it normally. (Yep.)
Since UTF-16 in particular will effectively half the probe buffer size,
double the probe size.
Diffstat (limited to 'sub')
0 files changed, 0 insertions, 0 deletions