summaryrefslogtreecommitdiffstats
path: root/sub/dec_sub.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-06-23 22:17:01 +0200
committerwm4 <wm4@nowhere>2013-06-25 00:11:56 +0200
commit5da89f8d2cbb8a787851eaefc39238784a62fe59 (patch)
tree514e2d7d1f89247b460532aaac21c9dbf4a207f3 /sub/dec_sub.c
parent29cec6f98ba523025acdd1aea42795985e32306f (diff)
downloadmpv-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/dec_sub.c')
0 files changed, 0 insertions, 0 deletions