1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-20 06:46:55 +00:00
mpv/video
wm4 4d747400bb win32: allow multiple windows at the same time
Window classes are process-wide (or at least DLL-wide), so you can't
have 2 classes with the same name. Our code attempted to do this when
for example 2 libmpv instances were created within the same process.
This failed, because RegisterWindowEx() fails if the class already
exists.

Fix this by ignoring RegisterWindowEx() errors. If the class can really
not be registered, we will fail on CreateWindowEx() instead. Of course
we also can't unregister the class, as another thread might be using it.
Windows will free the class automatically if the DLL is unloaded or the
process terminates.

Fixes #2319 (hopefully).
2015-09-22 21:54:43 +02:00
..
decode video: make --field-dominance set interlaced flag 2015-09-10 23:46:06 -07:00
filter vf_yadif: add hack for Libav compatibility 2015-09-20 15:36:52 +02:00
out win32: allow multiple windows at the same time 2015-09-22 21:54:43 +02:00
csputils.c video: add a way to disable automatic stereo conversion 2015-07-10 18:04:34 +02:00
csputils.h Update license headers 2015-04-13 12:10:01 +02:00
d3d.h vo_direct3d, dxva2: use the same D3D device 2015-07-03 16:04:42 +02:00
fmt-conversion.c hwdec: add VideoToolbox support 2015-08-05 17:47:30 +02:00
fmt-conversion.h Update license headers 2015-04-13 12:10:01 +02:00
hwdec.h hwdec: add VideoToolbox support 2015-08-05 17:47:30 +02:00
image_writer.c image_writer: don't use jpeg baseline, and remove useless jpeg options 2015-08-02 01:10:18 +02:00
image_writer.h screenshots: add option to prevent 16 bit output 2015-04-29 21:05:04 +02:00
img_format.c video: do not use deprecated libavutil pixdesc fields 2015-09-10 22:13:52 +02:00
img_format.h video: fix VideoToolbox/VDA autodetection 2015-08-17 23:51:31 +02:00
img_fourcc.h build: deal with endian mess 2014-07-10 00:58:56 +02:00
mp_image_pool.c video: replace our own refcounting with libavutil's 2015-07-05 23:56:00 +02:00
mp_image_pool.h video: introduce failure path for image allocations 2014-06-17 22:43:43 +02:00
mp_image.c mp_image: fix vf_vdpaupp references 2015-07-08 14:48:17 +02:00
mp_image.h video: replace our own refcounting with libavutil's 2015-07-05 23:56:00 +02:00
sws_utils.c sws_utils: re-use avcolorspace for sws colorspaces 2015-05-04 01:34:25 +02:00
sws_utils.h vf_scale: libswscale is being stupid 2015-03-01 22:32:38 +01:00
vaapi.c vaapi: destroy derived VAImage after each use 2015-07-15 13:30:32 +02:00
vaapi.h vaapi: drop compatibility crap and vo_vaapi deinterlacer 2015-07-08 14:48:11 +02:00
vdpau_functions.inc vo_vdpau: directly get surface size from surface for screenshots 2015-06-05 22:34:16 +02:00
vdpau_mixer.c vdpau: retrieve mixer parameters directly from the hw surface 2015-05-28 21:54:02 +02:00
vdpau_mixer.h vdpau: retrieve mixer parameters directly from the hw surface 2015-05-28 21:54:02 +02:00
vdpau.c video: reduce error message when loading hwdec backend fails 2015-06-20 22:26:57 +02:00
vdpau.h video: reduce error message when loading hwdec backend fails 2015-06-20 22:26:57 +02:00