summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-08-21 18:49:10 +0200
committerwm4 <wm4@nowhere>2012-08-21 18:58:15 +0200
commitb65424f5c2bf1a3a5e4781f640023132920991d7 (patch)
tree7caf32748b95fa0bab6b529152d4a33a12591cca /DOCS
parent009d9d8706f45bc7cb618891527967e70ed17a8d (diff)
downloadmpv-b65424f5c2bf1a3a5e4781f640023132920991d7.tar.bz2
mpv-b65424f5c2bf1a3a5e4781f640023132920991d7.tar.xz
osd_libass: fix displaying empty text, fix API usage
If empty text is rendered, the bounding box is empty. Instead of continuing with a bogus bounding box that would result in garbage being rendered on screen, make the OSD image invisible. This happened when playing demuxer SRT subtitles (e.g. SRT embedded in MKV) with -no-ass at the moment a subtitle line disappeared. Unrelated to this issue, fix libass API usage. Delete the event with libass_flush_events(), instead of trying to reuse the previous event. Based on a patch by uau.
Diffstat (limited to 'DOCS')
0 files changed, 0 insertions, 0 deletions