1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00
mpv/video/out
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
..
cocoa cocoa: support the "window-minimized" property 2015-03-08 22:00:47 +01:00
opengl vo_opengl: fix shader compilation with debanding and OSX hwdec 2015-09-10 20:53:47 +02:00
wayland Remove trailing whitespaces 2015-05-15 11:02:44 +02:00
aspect.c video: fix panscan in vertical case 2015-06-29 23:46:59 +02:00
aspect.h Update license headers 2015-04-13 12:10:01 +02:00
bitmap_packer.c Update license headers 2015-04-13 12:10:01 +02:00
bitmap_packer.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
cocoa_common.h cocoa: redo synchronization 2015-05-13 22:00:34 +02:00
cocoa_common.m cocoa: hide cursor using a blank image instead of a system-wide API 2015-08-11 08:02:58 +02:00
d3d_shader_420p.h vo_direct3d: support NV12 with shaders 2015-03-02 19:09:18 +01:00
d3d_shader_nv12.h vo_direct3d: support NV12 with shaders 2015-03-02 19:09:18 +01:00
d3d_shader_yuv.hlsl vo_direct3d: support NV12 with shaders 2015-03-02 19:09:18 +01:00
dither.c Update license headers 2015-04-13 12:10:01 +02:00
dither.h gl_video: improve dithering 2013-05-26 16:44:20 +02:00
drm_common.c vo_drm: fix missing newlines in error messages 2015-06-28 15:22:11 +02:00
drm_common.h vo_drm: extract vt_switcher to drm_common 2015-04-19 21:18:15 +02:00
filter_kernels.c vo_opengl: add tscale-clamp option 2015-08-20 21:55:19 +02:00
filter_kernels.h vo_opengl: add tscale-clamp option 2015-08-20 21:55:19 +02:00
vo_caca.c Update license headers 2015-04-13 12:10:01 +02:00
vo_direct3d.c vo_direct3d: create multithreaded IDirect3DDevice9 2015-07-30 21:26:42 +02:00
vo_drm.c vo_drm: make VT switching non mandatory 2015-06-28 17:11:51 +02:00
vo_image.c path: make mp_path_join accept normal C strings 2015-05-09 15:26:47 +02:00
vo_lavc.c Update license headers 2015-04-13 12:10:01 +02:00
vo_null.c vo_null: add framerate emulation 2015-05-24 23:27:18 +02:00
vo_opengl_cb.c vo_opengl: remove gl_ prefixes from files in video/out/opengl 2015-09-09 18:09:31 +02:00
vo_opengl.c vo_opengl: remove gl_ prefixes from files in video/out/opengl 2015-09-09 18:09:31 +02:00
vo_rpi.c vo_rpi: fix compilation 2015-09-11 08:16:17 +02:00
vo_sdl.c vo_sdl: fix glaring memory leak 2015-06-25 09:55:24 +02:00
vo_vaapi.c vo_vaapi: drop unused field 2015-07-15 13:27:38 +02:00
vo_vdpau.c vo_vdpau: fix frame scheduling if display FPS is unknown 2015-08-04 19:23:07 +02:00
vo_wayland.c vo_wayland: Wait for frame callbacks 2015-08-21 00:01:01 +02:00
vo_xv.c x11: move GCs and background clearing to vo_xv 2015-07-01 23:55:10 +02:00
vo.c vo: fix video EOF with display-sync 2015-08-12 10:46:29 +02:00
vo.h player: add display sync mode 2015-08-10 18:48:45 +02:00
w32_common.c win32: allow multiple windows at the same time 2015-09-22 21:54:43 +02:00
w32_common.h Update license headers 2015-04-13 12:10:01 +02:00
wayland_common.c input: add append argument to file drop event 2015-08-30 05:28:24 -07:00
wayland_common.h vo_wayland: Wait for frame callbacks 2015-08-21 00:01:01 +02:00
win_state.c player: add --window-scale option 2015-04-24 23:27:12 +02:00
win_state.h video/out: separate out code to compute window size 2014-05-06 20:22:32 +02:00
x11_common.c x11: drag and drop append with modifier 2015-08-30 05:28:30 -07:00
x11_common.h x11: drag and drop append with modifier 2015-08-30 05:28:30 -07:00
x11_icon.bin x11: add window icon 2013-09-01 23:27:33 +02:00