1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-21 06:14:32 +00:00
mpv/sub
wm4 51befc9deb osd: simplify an aspect of change detection handling
There was a somewhat obscure optimization in the OSD and subtitle
rendering path: if only the position of the sub-images changed, and not
the actual image data, uploading of the image data could be skipped. In
theory, this could speed up things like scrolling subtitles.

But it turns out that even in the rare cases subtitles have such scrolls
or axis-aligned movement, modern libass rarely signals this kind of
change. Possibly this is because of sub-pixel handling and such, which
break this.

As such, it's a worthless optimization and just introduces additional
complexity and subtle bugs (especially in cases libass does the
opposite: incorrectly signaling a position change only, which happened
before). Remove this optimization, and rename bitmap_pos_id to
change_id.
2015-03-18 13:15:20 +01:00
..
ass_mp.c osd: simplify an aspect of change detection handling 2015-03-18 13:15:20 +01:00
ass_mp.h sub: move mp_ass_configure() code 2015-02-24 15:49:26 +01:00
dec_sub.c sub: this isn't needed either 2015-03-03 15:19:33 +01:00
dec_sub.h
draw_bmp.c osd: simplify an aspect of change detection handling 2015-03-18 13:15:20 +01:00
draw_bmp.h csputils: get rid of mp_csp_details 2015-01-06 16:50:58 +01:00
find_subfiles.c find_subfiles: Add 'vtt' to subtitle extensions 2015-02-18 21:12:55 +01:00
find_subfiles.h player: add external audio file auto-loading 2015-02-02 21:23:12 +01:00
img_convert.c
img_convert.h
osd_dummy.c Add some missing "const"s 2014-10-10 13:44:08 +02:00
osd_font.otf
osd_libass.c osd: force alignment for OSD bar 2015-02-24 14:40:06 +01:00
osd_state.h osd: simplify an aspect of change detection handling 2015-03-18 13:15:20 +01:00
osd.c osd: simplify an aspect of change detection handling 2015-03-18 13:15:20 +01:00
osd.h osd: simplify an aspect of change detection handling 2015-03-18 13:15:20 +01:00
sd_ass.c sd_ass: replace a deprecated libass API call 2015-02-25 16:48:01 +01:00
sd_lavc_conv.c
sd_lavc.c osd: simplify an aspect of change detection handling 2015-03-18 13:15:20 +01:00
sd_lavf_srt.c
sd_microdvd.c
sd_movtext.c
sd_srt.c
sd.h sub: this isn't needed either 2015-03-03 15:19:33 +01:00