diff options
author | wm4 <wm4@nowhere> | 2019-05-22 23:15:34 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-09-19 20:37:04 +0200 |
commit | 27c5550de2693d27ed24d3838a4ae16a06a9dd5d (patch) | |
tree | 15d8955dac3d0515e3d2bae878738df4710afbf1 /demux/ebml.c | |
parent | f06b3d7f887a9515dbad314f9d57351169e08a9b (diff) | |
download | mpv-27c5550de2693d27ed24d3838a4ae16a06a9dd5d.tar.bz2 mpv-27c5550de2693d27ed24d3838a4ae16a06a9dd5d.tar.xz |
sd_lavc: implement --sub-pos for bitmap subtitles
Simple enough to do. May have mixed results. Typically, bitmap subtitles
will have a tight bounding box around the rendered text. But if for
example there is text on the top and bottom, it may be a single big
bitmap with a large transparent area between top and bottom. In
particular, DVD subtitles are really just a single screen-sized
RLE-encoded bitmap, though libavcodec will crop off transparent areas.
Like with sd_ass, you can't move subtitles _down_ if they are already in
their origin position. This could probably be improved, but I don't want
to deal with that right now.
Diffstat (limited to 'demux/ebml.c')
0 files changed, 0 insertions, 0 deletions