1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 17:12:36 +00:00
mpv/sub
wm4 956b01ec4e 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.
2014-03-31 18:44:44 +02:00
..
ass_mp.c ass_mp: don't use --subcp for --ass-styles 2014-03-31 18:44:44 +02:00
ass_mp.h sub/osd: mp_msg conversions 2013-12-21 20:50:13 +01:00
dec_sub.c sub: remove old MPlayer DVD sub decoder 2014-03-16 13:19:28 +01:00
dec_sub.h sub: uglify sub decoder with locking 2014-01-17 23:21:17 +01:00
draw_bmp.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
draw_bmp.h Rename sub.c/.h to osd.c/.h 2013-11-24 14:44:58 +01:00
find_subfiles.c vo: dropping subtitle files on the VO window adds them as subtitle files 2014-01-04 01:27:29 +01:00
find_subfiles.h vo: dropping subtitle files on the VO window adds them as subtitle files 2014-01-04 01:27:29 +01:00
img_convert.c Reduce recursive config.h inclusions in headers 2013-12-18 17:12:21 +01:00
img_convert.h
osd_dummy.c sub: uglify OSD code path with locking 2014-01-18 01:27:43 +01:00
osd_font.otf osc: rename osd_font, add some glyphs 2013-09-08 03:35:04 +02:00
osd_libass.c sub: uglify OSD code path with locking 2014-01-18 01:27:43 +01:00
osd_state.h sub: uglify OSD code path with locking 2014-01-18 01:27:43 +01:00
osd.c video/out: don't access aspdat in VOs 2014-01-22 00:35:52 +01:00
osd.h video/out: don't access aspdat in VOs 2014-01-22 00:35:52 +01:00
sd_ass.c demux_libass: change how external ASS subtitles are loaded 2014-03-15 22:17:51 +01:00
sd_lavc_conv.c Remove some more unneeded version checks 2014-03-16 13:19:28 +01:00
sd_lavc.c sub: remove old MPlayer DVD sub decoder 2014-03-16 13:19:28 +01:00
sd_lavf_srt.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
sd_microdvd.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
sd_movtext.c
sd_srt.c sub/osd: mp_msg conversions 2013-12-21 20:50:13 +01:00
sd.h demux_libass: change how external ASS subtitles are loaded 2014-03-15 22:17:51 +01:00