1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-06 07:00:30 +00:00
mpv/video/out
wm4 b23dce6d7c x11_common: always create a window, even with --wid
The --wid switch (for embedding the player into other applications)
didn't create a new window, and instead tried to use the window that
was passed via --wid directly. This made the code more complex, caused
strange X errors (mpv and host application fighting for exclusive X
resources), and actually could cause issues if the --wid window wasn't
created with the X Visual needed for OpenGL.

Always create a window instead. This makes it always possible to embed
the player into foreign windows. --geometry doesn't work anymore - the
controlling application should always create a new window to place the
player inside it, and can control the video window by moving and
resizing this window.

w32_common.c actually did this right, and always creates a new window.
2013-02-26 02:01:48 +01:00
..
aspect.c options: move -geometry parsing to m_option.c 2013-01-23 10:56:11 +01:00
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_common.h video/out: rename create_window to config_window 2013-02-26 02:01:48 +01:00
cocoa_common.m video/out: rename create_window to config_window 2013-02-26 02:01:48 +01:00
d3d_shader_yuv.h
d3d_shader_yuv.hlsl vo_direct3d: remove 2ch hack for 10 bit playback 2013-01-13 20:04:14 +01:00
filter_kernels.c
filter_kernels.h
gl_common.c video/out: rename create_window to config_window 2013-02-26 02:01:48 +01:00
gl_common.h video/out: rename create_window to config_window 2013-02-26 02:01:48 +01:00
gl_header_fixes.h clang: fix all warnings except deprecations 2012-11-13 22:19:18 +01:00
gl_osd.c
gl_osd.h
osx_common.h osxbundle: cocoa_common: change playlist on fileopen events 2013-01-16 22:27:04 +01:00
osx_common.m Prefix keycode defines with MP_ 2013-02-12 10:27:00 +01:00
pnm_loader.c
pnm_loader.h
vo_caca.c vo_caca: remove OSD support 2013-02-24 16:15:50 +01:00
vo_corevideo.h
vo_corevideo.m video/out: rename create_window to config_window 2013-02-26 02:01:48 +01:00
vo_direct3d.c vo_direct3d: always clear window before drawing video 2013-02-24 15:40:48 +01:00
vo_image.c options: drop --opt:subopt option names 2013-02-23 00:07:11 +01:00
vo_lavc.c audio/out, video/out: hide encoding VO/AO 2013-02-06 23:04:18 +01:00
vo_null.c video: remove slice based filtering and video output 2013-01-13 17:39:31 +01:00
vo_opengl_old.c video/out: rename create_window to config_window 2013-02-26 02:01:48 +01:00
vo_opengl_shaders.glsl vo_opengl: use more precise gamma for BT.709 with color management 2012-12-28 13:43:24 +01:00
vo_opengl.c video/out: rename create_window to config_window 2013-02-26 02:01:48 +01:00
vo_sdl.c Prefix keycode defines with MP_ 2013-02-12 10:27:00 +01:00
vo_vdpau.c video/out: rename create_window to config_window 2013-02-26 02:01:48 +01:00
vo_x11.c video/out: rename create_window to config_window 2013-02-26 02:01:48 +01:00
vo_xv.c video/out: rename create_window to config_window 2013-02-26 02:01:48 +01:00
vo.c Remove --rootwin option and rootwin property 2013-02-24 17:00:52 +01:00
vo.h Remove --rootwin option and rootwin property 2013-02-24 17:00:52 +01:00
w32_common.c core: add fs-screen option for fullscreen display selection 2013-02-21 22:23:08 +01:00
w32_common.h core: add fs-screen option for fullscreen display selection 2013-02-21 22:23:08 +01:00
x11_common.c x11_common: always create a window, even with --wid 2013-02-26 02:01:48 +01:00
x11_common.h video/out: rename create_window to config_window 2013-02-26 02:01:48 +01:00