1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-23 16:36:56 +00:00
mpv/video
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
..
decode vd_lavc: change message about using hardware decoding 2015-03-17 22:33:31 +01:00
filter vf_vavpp: fix deinterlacing 2015-03-08 21:44:18 +01:00
out osd: simplify an aspect of change detection handling 2015-03-18 13:15:20 +01:00
csputils.c vo_opengl: refactor shader generation (part 2) 2015-03-12 23:20:21 +01:00
csputils.h vo_opengl: refactor shader generation (part 2) 2015-03-12 23:20:21 +01:00
fmt-conversion.c video: work around libswscale for PNG pixel formats 2015-02-06 23:22:16 +01:00
fmt-conversion.h Take care of some libavutil deprecations, drop support for FFmpeg 1.0 2013-11-29 17:39:57 +01:00
hwdec.h command: add property returning detected hwdec API 2015-02-02 22:43:13 +01:00
image_writer.c Remove some FFmpeg/Libav compatibility hacks 2015-03-03 12:28:46 +01:00
image_writer.h Revert "Revert recent vo_opengl related commits" 2015-02-28 20:23:47 +01:00
img_format.c vo_opengl: move minor helper to common code 2015-03-09 22:47:33 +01:00
img_format.h vo_opengl: move minor helper to common code 2015-03-09 22:47:33 +01:00
img_fourcc.h build: deal with endian mess 2014-07-10 00:58:56 +02:00
memcpy_pic.h memcpy_pic: reformat 2013-11-06 20:27:13 +01:00
mp_image_pool.c mp_image_pool: allow passing pool=NULL in more places 2015-01-22 17:37:40 +01:00
mp_image_pool.h video: introduce failure path for image allocations 2014-06-17 22:43:43 +02:00
mp_image.c Remove some FFmpeg/Libav compatibility hacks 2015-03-03 12:28:46 +01:00
mp_image.h Revert "Revert recent vo_opengl related commits" 2015-02-28 20:23:47 +01:00
sws_utils.c vf_scale: libswscale is being stupid 2015-03-01 22:32:38 +01:00
sws_utils.h vf_scale: libswscale is being stupid 2015-03-01 22:32:38 +01:00
vaapi.c command: add property returning detected hwdec API 2015-02-02 22:43:13 +01:00
vaapi.h video: have a generic context struct for hwdec backends 2015-01-22 15:32:23 +01:00
vdpau_functions.inc video: handle hwdec screenshots differently 2015-01-22 18:18:23 +01:00
vdpau_mixer.c video: handle hwdec screenshots differently 2015-01-22 18:18:23 +01:00
vdpau_mixer.h vdpau_mixer: allow overriding frame opts 2014-05-02 01:08:04 +02:00
vdpau.c command: add property returning detected hwdec API 2015-02-02 22:43:13 +01:00
vdpau.h video: handle hwdec screenshots differently 2015-01-22 18:18:23 +01:00