1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 17:42:17 +00:00
mpv/sub
wm4 4c1deb680d sub: do charset conversion in demux_lavf.c
Just so I can remove a few lines from dec_sub.c.

This is slightly inelegant, as the whole subtitle file has to be read
into memory, converted at once in memory, and then provided to
libavformat in an awkward way by creating a memory stream instead of
using demuxer->stream. It also won't be possible to force the charset on
subtitles in binary container formats - but this wasn't exposed before,
and we just hope this won't be ever needed. (One motivation was fixing
broken files with non-UTF8 muxed.) It also won't be possible to change
the charset on the fly, but this was not exposed either.
2015-12-28 23:23:30 +01:00
..
ass_mp.c sub: remove unused function, move another one 2015-11-29 17:55:02 +01:00
ass_mp.h sub: remove unused function, move another one 2015-11-29 17:55:02 +01:00
dec_sub.c sub: do charset conversion in demux_lavf.c 2015-12-28 23:23:30 +01:00
dec_sub.h sub: refactor initialization 2015-12-27 02:13:06 +01:00
draw_bmp.c sub: use macros to remove code duplication 2015-12-24 17:32:10 +01:00
draw_bmp.h csputils: get rid of mp_csp_details 2015-01-06 16:50:58 +01:00
img_convert.c Update license headers 2015-04-13 12:10:01 +02:00
img_convert.h Revert "sub: support straight alpha additionally to premultiplied alpha" 2013-08-12 02:49:22 +02:00
lavc_conv.c sub: refactor initialization 2015-12-27 02:13:06 +01:00
osd_dummy.c Add some missing "const"s 2014-10-10 13:44:08 +02:00
osd_font.otf osd+osc: Add left-arrow to osd-font 2014-08-21 18:45:41 +02:00
osd_libass.c osd: fix and cleanup font style management 2015-11-29 17:55:02 +01:00
osd_state.h osd: use the same ASS_Renderer for OSD text and progbar 2015-11-28 19:24:31 +01:00
osd.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
osd.h osd: use the same ASS_Renderer for OSD text and progbar 2015-11-28 19:24:31 +01:00
sd_ass.c sub: refactor initialization 2015-12-27 02:13:06 +01:00
sd_lavc.c sub: refactor initialization 2015-12-27 02:13:06 +01:00
sd.h sub: refactor initialization 2015-12-27 02:13:06 +01:00