1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +00:00
mpv/mpvcore
wm4 ede652774e input: translate mouse position to OSD space early
Until now, mouse positions were just passed to the core as-is, even if
the mouse coordinates didn't map to any useful coordinate space, like
OSD coordinates. Lua scripting (used by the OSC, the only current user
of mouse input) had to translate mouse coordinates manually to OSD space
using mp_get_osd_mouse_pos(). This actually didn't work correctly in
cases mouse coordinates didn't map to OSD (like vo_xv): the mouse
coordinates the OSC got were correct, but input.c was still expecting
"real" mosue coordinates for mouse areas.

Fix this by converting to OSD coordinates before passing the mouse
position to the core.
2013-09-27 15:39:28 +02:00
..
input input: handle MOUSE_LEAVE specially 2013-09-27 15:33:47 +02:00
lua osc: Prevent OSD style options from messing with the OSC styles 2013-09-26 18:29:14 +02:00
timeline matroska: fix uninitialized memory accesses with ordered chapters 2013-09-26 18:20:32 +02:00
asxparser.c core: add a playlist demuxer 2013-08-26 10:09:45 +02:00
asxparser.h
av_common.c
av_common.h
av_log.c av_log: show ffmpeg "info" messages with -v only 2013-09-15 00:43:43 +02:00
av_log.h
av_opts.c
av_opts.h
bstr.c bstr: make UTF-8 check stricter 2013-08-15 23:40:03 +02:00
bstr.h bstr: add UTF-8 validation and sanitation functions 2013-08-15 23:40:02 +02:00
charset_conv.c sub: don't print detected charset if it's UTF-8 2013-08-15 23:40:04 +02:00
charset_conv.h sub: don't print detected charset if it's UTF-8 2013-08-15 23:40:04 +02:00
codecs.c
codecs.h
command.c input: translate mouse position to OSD space early 2013-09-27 15:39:28 +02:00
command.h input: translate mouse position to OSD space early 2013-09-27 15:39:28 +02:00
cpudetect.c
cpudetect.h
encode_lavc.c
encode_lavc.h
encode.h
m_config.c m_option: rename struct member named "new" 2013-08-19 13:03:08 +02:00
m_config.h
m_option.c mplayer: m_option: fix clang -Wformat compiler warning 2013-09-14 20:49:55 +02:00
m_option.h mplayer: start track IDs from 1 rather than 0 2013-08-21 18:32:42 +02:00
m_property.c command: when changing a property, allow showing an extra OSD message 2013-09-21 00:07:42 +02:00
m_property.h command: when changing a property, allow showing an extra OSD message 2013-09-21 00:07:42 +02:00
mp_common.c mp_common: add function which accepts a format string to format playback time 2013-09-15 02:51:17 +02:00
mp_common.h Fix previous commit 2013-09-25 22:44:12 +02:00
mp_core.h Add initial Lua scripting support 2013-09-26 01:28:58 +02:00
mp_lua.c input: translate mouse position to OSD space early 2013-09-27 15:39:28 +02:00
mp_lua.h Add initial Lua scripting support 2013-09-26 01:28:58 +02:00
mp_memory_barrier.h
mp_msg.c
mp_msg.h Some more mp_msg conversions 2013-08-23 23:30:09 +02:00
mp_osd.h
mp_ring.c
mp_ring.h
mp_talloc.h
mplayer.c Add initial Lua scripting support 2013-09-26 01:28:58 +02:00
mpv_global.h
options.c video: let sh_video->aspect always be container aspect ratio 2013-09-26 17:29:14 +02:00
options.h Add the on-screen-controller 2013-09-26 01:29:15 +02:00
parser-cfg.c
parser-cfg.h
parser-mpcmd.c core: add a playlist demuxer 2013-08-26 10:09:45 +02:00
parser-mpcmd.h
path.c macosx: move bundle path stuff to path-macosx.m 2013-09-18 19:30:11 +02:00
path.h path: add a common mp_is_url() function 2013-09-04 16:15:08 +02:00
playlist_parser.c demux_playlist: port ini reference playlist parser 2013-08-28 23:08:10 +02:00
playlist_parser.h core: add a playlist demuxer 2013-08-26 10:09:45 +02:00
playlist.c path: add a common mp_is_url() function 2013-09-04 16:15:08 +02:00
playlist.h mplayer: attempt to skip playlist entries which can't be played 2013-09-15 05:03:55 +02:00
resolve_quvi9.c
resolve_quvi.c quvi: coerce libquvi 0.4 support into allowing format switching 2013-09-10 16:38:34 +02:00
resolve.h quvi: coerce libquvi 0.4 support into allowing format switching 2013-09-10 16:38:34 +02:00
screenshot.c screenshot: change %w format to be more like %t 2013-09-15 19:07:35 +02:00
screenshot.h
version.c