mpv/sub
wm4 5fa45fb564 osd, lua: remove weird OSD scaling
Do not scale OSD mouse input to the ASS OSD script resolution. The
original idea of this mechanism was that the user doesn't have to care
about the actual resolution of anything, and can just use the OSD
resolution consistently. But this made things worse.

Remove the implicit scaling, and always use the screen resolution.
(Except with --vo=xv, where additional scaling is forced upon
everything.)

Drop get_osd_resolution(). There is no replacement. Rename
get_screen_size() and get_screen_margins() to use "osd" instead of
"screen". For anything but --vo=xv these are equivalent, but with
--vo=xv the OSD resolution has additional implicit scaling.

Add code to osc.lua which emulates the old behavior.

Note that none of the changed functions were public API, so implicit
breakage of scripts which used it is just going to happen.
2016-03-07 22:22:18 +01:00
..
ass_mp.c ass_mp: add mp_ass_flush_old_events() 2016-01-18 12:12:34 -08:00
ass_mp.h ass_mp: add mp_ass_flush_old_events() 2016-01-18 12:12:34 -08:00
dec_sub.c sub: make preloading more robust 2016-03-06 15:17:59 +01:00
dec_sub.h sub: make preloading more robust 2016-03-06 15:17:59 +01:00
draw_bmp.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
draw_bmp.h csputils: get rid of mp_csp_details 2015-01-06 16:50:58 +01:00
img_convert.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
img_convert.h Revert "sub: support straight alpha additionally to premultiplied alpha" 2013-08-12 02:49:22 +02:00
lavc_conv.c lavc_conv: fix Libav srt subtitles 2016-02-29 18:20:27 +01:00
osd.c osd, lua: remove weird OSD scaling 2016-03-07 22:22:18 +01:00
osd.h osd, lua: remove weird OSD scaling 2016-03-07 22:22:18 +01:00
osd_dummy.c osd, lua: remove weird OSD scaling 2016-03-07 22:22:18 +01:00
osd_font.otf osd+osc: Add left-arrow to osd-font 2014-08-21 18:45:41 +02:00
osd_libass.c osd, lua: remove weird OSD scaling 2016-03-07 22:22:18 +01:00
osd_state.h osd: use the same ASS_Renderer for OSD text and progbar 2015-11-28 19:24:31 +01:00
sd.h sub: make preloading more robust 2016-03-06 15:17:59 +01:00
sd_ass.c sub: make preloading more robust 2016-03-06 15:17:59 +01:00
sd_lavc.c sub: implement "sub-seek 0" 2016-02-04 22:48:13 +01:00