mpv/player
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
..
lua osd, lua: remove weird OSD scaling 2016-03-07 22:22:18 +01:00
audio.c player: minor simplification 2016-02-27 20:03:15 +01:00
client.c client API: handle double->int64 conversion correctly 2016-02-13 13:07:53 +01:00
client.h global: add client API pointer to library handle 2016-01-15 22:54:08 +01:00
command.c command: fix property notification for cache-buffering-state 2016-03-02 13:57:30 +01:00
command.h video: always re-probe auto deint filter on filter reconfig 2015-07-21 21:54:15 +02:00
configfiles.c mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
core.h sub: make preloading more robust 2016-03-06 15:17:59 +01:00
external_files.c player: fix previous commit 2015-12-25 13:40:06 +01:00
external_files.h player: rename and move find_subfiles.c 2015-09-20 18:05:06 +02:00
lavfi.c lavfi: dump the filter graph 2016-02-12 20:28:07 +01:00
lavfi.h player: add complex filter graph support 2016-02-05 23:19:56 +01:00
loadfile.c demux: remove relative seeking 2016-02-28 19:28:34 +01:00
lua.c osd, lua: remove weird OSD scaling 2016-03-07 22:22:18 +01:00
main.c options: set fs=yes by default on RPI, and change RPI defaults handling 2016-02-05 18:05:38 +01:00
misc.c player: simplify error_on_track() 2016-02-05 23:17:27 +01:00
osd.c player: remove old timeline/ordered chapters support 2016-02-15 21:03:51 +01:00
playloop.c player: simplify mp_seek() 2016-02-28 20:01:29 +01:00
screenshot.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
screenshot.h Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
scripting.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
sub.c sub: make preloading more robust 2016-03-06 15:17:59 +01:00
video.c player: minor simplification 2016-02-27 20:03:15 +01:00