1
mirror of https://github.com/mpv-player/mpv synced 2024-11-07 01:47:00 +01:00
mpv/player
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
..
lua Lua: add unpack shim for Lua 5.2/5.3 compatibility. 2015-03-06 12:28:20 +01:00
audio.c audio: cut audio with spdif too on playback restart 2015-03-10 15:17:57 +01:00
client.c player, client API: refactor cplayer init, reduce client API differences 2015-03-05 11:22:15 +01:00
client.h vo_opengl_cb: simplify API uninitialization 2014-12-31 20:31:19 +01:00
command.c osd: simplify an aspect of change detection handling 2015-03-18 13:15:20 +01:00
command.h player: fix audio-device-list updates 2015-02-14 15:13:58 +01:00
configfiles.c sub: mess with styling defaults, change --ass-use-margins behavior 2015-02-16 20:04:29 +01:00
core.h player, client API: refactor cplayer init, reduce client API differences 2015-03-05 11:22:15 +01:00
discnav.c osc, dvd, bd: fix mouse state when changing menu modes 2014-12-05 16:04:04 +01:00
loadfile.c player: refine rar:// playlist-safety handling 2015-03-02 19:09:36 +01:00
lua.c Lua: add mp.get_screen_margins(). 2015-03-01 13:08:39 +01:00
main_fn.c cocoa: fix build by using the correct HAVE_* macro 2014-08-06 09:31:59 +02:00
main.c player: dump list of satisfied deps instead of config.h with -v 2015-03-11 23:33:05 +01:00
misc.c player: cosmetics: async/non-blocking -> reentrant 2015-02-20 20:06:43 +01:00
osd.c command: improve A-B loop behavior 2014-11-18 20:28:54 +01:00
playloop.c player: use symbolic constant for seek precision 2015-03-04 17:31:36 +01:00
screenshot.c player: fix crash when taking screenshots in idle mode 2015-03-11 12:02:31 +01:00
screenshot.h Move mpvcore/player/ to player/ 2013-12-17 00:53:22 +01:00
scripting.c scripting: fix/improve deprecation message 2014-12-15 06:24:05 +01:00
sub.c build: fix warnings with --disable-libass 2015-03-04 17:28:36 +01:00
video.c player: use symbolic constant for seek precision 2015-03-04 17:31:36 +01:00