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 sub: uglify sub decoder with locking 2014-01-17 23:21:17 +01:00
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: sanitizer: avoid invalid left-shifts 2014-09-14 21:10:09 +02:00
img_convert.h Revert "sub: support straight alpha additionally to premultiplied alpha" 2013-08-12 02:49:22 +02: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
osd_dummy.c Add some missing "const"s 2014-10-10 13:44:08 +02:00
osd_font.otf osd+osc: Add left-arrow to osd-font 2014-08-21 18:45:41 +02:00
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
sd.h sub: this isn't needed either 2015-03-03 15:19:33 +01:00
sd_ass.c sd_ass: replace a deprecated libass API call 2015-02-25 16:48:01 +01:00
sd_lavc.c osd: simplify an aspect of change detection handling 2015-03-18 13:15:20 +01:00
sd_lavc_conv.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
sd_lavf_srt.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
sd_microdvd.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
sd_movtext.c sd_ass: disable special handling of subtitles with duration 0 2013-06-25 00:11:54 +02:00
sd_srt.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00