summaryrefslogtreecommitdiffstats
path: root/demux/codec_tags.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-12-28 23:23:30 +0100
committerwm4 <wm4@nowhere>2015-12-28 23:23:30 +0100
commit4c1deb680dacee555e7cdd5e247128d7416bac13 (patch)
tree2330f6d5581585a7d97714f4c1b1c97b8c5d20a5 /demux/codec_tags.h
parent97d50538cde30b42208f343720ee22ec431c40f1 (diff)
downloadmpv-4c1deb680dacee555e7cdd5e247128d7416bac13.tar.bz2
mpv-4c1deb680dacee555e7cdd5e247128d7416bac13.tar.xz
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.
Diffstat (limited to 'demux/codec_tags.h')
0 files changed, 0 insertions, 0 deletions