1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 08:12:17 +00:00
mpv/video
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
..
decode video: let sh_video->disp_w/h always be container size 2013-09-26 17:33:57 +02:00
filter vd: move aspect calculation to a function 2013-09-26 16:09:08 +02:00
out input: translate mouse position to OSD space early 2013-09-27 15:39:28 +02:00
csputils.c video: support setting libswscale chroma position 2013-07-25 23:03:20 +02:00
csputils.h video: support setting libswscale chroma position 2013-07-25 23:03:20 +02:00
fmt-conversion.c video: add vda decode support (with hwaccel) and direct rendering 2013-08-22 12:13:30 +02:00
fmt-conversion.h
image_writer.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
image_writer.h image_writer: Add PNG filter option (default "mixed") 2013-06-15 15:48:52 +02:00
img_format.c video: add vda decode support (with hwaccel) and direct rendering 2013-08-22 12:13:30 +02:00
img_format.h video: add vda decode support (with hwaccel) and direct rendering 2013-08-22 12:13:30 +02:00
img_fourcc.h core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
memcpy_pic.h
mp_image_pool.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
mp_image_pool.h mp_image_pool: make reference counting thread-safe 2013-07-28 19:25:07 +02:00
mp_image.c gl_video: handle non-mod-2 4:2:0 YUV video correctly 2013-08-06 21:46:47 +02:00
mp_image.h Fix previous commit 2013-09-25 22:44:12 +02:00
sws_utils.c video: handle video output levels with mp_image_params 2013-08-24 19:40:18 +02:00
sws_utils.h img_convert: add function to scale RGBA OSD images 2013-08-12 00:51:31 +02:00
vaapi.c vaapi: fix compilation with Libav 2013-09-25 22:22:02 +02:00
vaapi.h vaapi: add vf_vavpp and use it for deinterlacing 2013-09-25 13:53:42 +02:00
vdpau_functions.inc vo_vdpau: allow setting colorkey 2013-08-17 20:06:20 +02:00
vdpau.c vdpau: split off decoder parts, use "new" libavcodec vdpau hwaccel API 2013-07-28 19:25:07 +02:00
vdpau.h core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
vfcap.h core: simplify OSD capability handling, remove VFCAP_OSD 2013-03-01 11:16:01 +01:00