mpv/video
James Ross-Gowan 037c7a9279 w32_common: handle media keys
This was attempted before in fc9695e63b, but it was reverted in
1b7ce759b1 because it caused conflicts with other software watching
the same keys (See #2041.) It seems like some PCs ship with OEM software
that watches the volume keys without consuming key events and this
causes them to be handled twice, once by mpv and once by the other
software.

In order to prevent conflicts like this, use the WM_APPCOMMAND message
to handle media keys. Returning TRUE from the WM_APPCOMMAND handler
should indicate to the operating system that we consumed the key event
and it should not be propogated to the shell. Also, we now only listen
for keys that are directly related to multimedia playback (eg. the
APPCOMMAND_MEDIA_* keys.) Keys like APPCOMMAND_VOLUME_* are ignored, so
they can be handled by the shell, or by other mixer software.
2017-08-05 02:38:44 +10:00
..
decode vd_lavc: decode embedded ICC profiles 2017-08-03 21:48:25 +02:00
filter video: drop some more IMGFMT aliases 2017-06-29 21:30:10 +02:00
out w32_common: handle media keys 2017-08-05 02:38:44 +10:00
csputils.c csputils: fix mp_colorspace_equal missing field 2017-07-18 02:20:50 +02:00
csputils.h vo_opengl: implement sony s-log2 trc 2017-06-18 20:54:44 +02:00
fmt-conversion.c vo_direct3d: remove non-working nv12 shader support 2017-06-30 18:13:01 +02:00
fmt-conversion.h video/fmt-conversion, img_format: change license to LGPL 2017-06-18 15:15:07 +02:00
gpu_memcpy.c
gpu_memcpy.h
hwdec.c vd_lavc, vaapi: move hw device creation to generic code 2017-02-20 08:39:55 +01:00
hwdec.h hwdec: fix 2 comments 2017-05-24 14:32:23 +02:00
image_loader.c x11: load icon differently 2017-07-01 15:56:12 +02:00
image_loader.h x11: load icon differently 2017-07-01 15:56:12 +02:00
image_writer.c Replace remaining avcodec_close() calls 2017-07-16 12:51:48 +02:00
image_writer.h image_writer, vo_image: change license to LGPL 2017-06-18 15:45:24 +02:00
img_format.c img_format: drop some unused things 2017-06-30 18:38:23 +02:00
img_format.h img_format: fix a comment 2017-07-15 13:04:32 +02:00
mp_image.c vd_lavc: decode embedded ICC profiles 2017-08-03 21:48:25 +02:00
mp_image.h vd_lavc: decode embedded ICC profiles 2017-08-03 21:48:25 +02:00
mp_image_pool.c mp_image_pool: disallow adding read only frames 2017-07-23 09:28:36 +02:00
mp_image_pool.h vaapi: use libavutil functions for copying hw surfaces to memory 2017-01-12 13:58:28 +01:00
sws_utils.c sws_utils: switch back to GPL 2017-07-01 12:51:18 +02:00
sws_utils.h
vaapi.c video: get rid of swapped packed YUV 2017-06-30 18:01:29 +02:00
vaapi.h vd_lavc, vaapi: move hw device creation to generic code 2017-02-20 08:39:55 +01:00
vdpau.c video: get rid of swapped packed YUV 2017-06-30 18:01:29 +02:00
vdpau.h vdpau: support new vdpau libavcodec decode API 2017-03-23 11:14:11 +01:00
vdpau_functions.inc
vdpau_mixer.c
vdpau_mixer.h
vt.c vo_opengl: hwdec_osx: use new format setup function 2017-02-17 17:08:37 +01:00
vt.h videotoolbox: add reverse format mapping function 2017-02-17 13:51:03 +01:00