diff options
author | wm4 <wm4@nowhere> | 2015-12-16 23:54:25 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-12-17 01:17:23 +0100 |
commit | 74c11f0c841d0b81a6ea759c7eb131d2c2e02ec3 (patch) | |
tree | 8c88229f881d63d3bb1504db7ca72583ae5eafcf /sub/osd.h | |
parent | e798cf1ff64527cd2ed9fc3bab8dbc2d0c7a52de (diff) | |
download | mpv-74c11f0c841d0b81a6ea759c7eb131d2c2e02ec3.tar.bz2 mpv-74c11f0c841d0b81a6ea759c7eb131d2c2e02ec3.tar.xz |
sub: detect charset in demuxer
Slightly simpler, and removes the need to pre-read all subtitle packets.
This still does the subtitle charset conversion on the packet level
(instead converting when parsing the file), so in theory this still
could provide a way to change the charset at runtime. But maybe even
this should be removed, as FFmpeg is somewhat likely to get its own
charset detection and conversion mechanism in the future. (Would have
to keep the subtitle file in memory to allow changing the charset on
the fly, I guess.)
Diffstat (limited to 'sub/osd.h')
0 files changed, 0 insertions, 0 deletions