summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-03-31 18:44:44 +0200
committerwm4 <wm4@nowhere>2014-03-31 18:44:44 +0200
commit956b01ec4eaecef0d48409e7aa5c1d133132fb82 (patch)
treede24affe574d0abec528d666cf701a2c786c640c /DOCS
parent01e8a9c9e3a28f2beb41a5ee6d902797abdb74f0 (diff)
downloadmpv-956b01ec4eaecef0d48409e7aa5c1d133132fb82.tar.bz2
mpv-956b01ec4eaecef0d48409e7aa5c1d133132fb82.tar.xz
ass_mp: don't use --subcp for --ass-styles
The --ass-styles option is implemented by calling ass_read_styles(). This function can take a codepage (so libass will use iconv to convert it). This was implemented before our --subcp option was changed, and this code was not updated. Now libass fails opening iconv, because --subcp is not always (and not by default) a valid iconv codepage. Just always pass NULL, which means the file passed to --ass-styles must be in UTF-8. The --ass-styles option is a fringe option anyway (and will destroy your subtitles), so having codepage support for it isn't important at all.
Diffstat (limited to 'DOCS')
0 files changed, 0 insertions, 0 deletions