mirror of https://github.com/mpv-player/mpv
b65424f5c2
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. |
||
---|---|---|
.. | ||
ass_mp.c | ||
ass_mp.h | ||
av_sub.c | ||
av_sub.h | ||
dec_sub.c | ||
dec_sub.h | ||
find_sub.c | ||
find_subfiles.c | ||
find_subfiles.h | ||
osd_dummy.c | ||
osd_font.pfb | ||
osd_libass.c | ||
sd.h | ||
sd_ass.c | ||
spudec.c | ||
spudec.h | ||
sub.c | ||
sub.h | ||
subassconvert.c | ||
subassconvert.h | ||
subreader.c | ||
subreader.h | ||
vobsub.c | ||
vobsub.h |