1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 23:32:26 +00:00
mpv/video/out
Alexander Preisinger 6230e0b896 wayland: early aspect calculation in vo_config
Calculate the aspect ratio in vo_config, when we get the window size and in the
inside the resize function we calculate the aspect ratio of the output in order
to determine if we have to change the height or the width of the video.

If the ratio of the output is bigger than the ratio of the video then we have
to set the width accordingly and if the ratio is smaller we change the size.
But only if no resize edges are passed, because this indicates that we want to
change the windows state instead of just a simple resize and the video should
not grow bigger than the requested size.
2013-07-16 19:13:29 +02:00
..
aspect.c video: deal with 0x0 window size 2013-03-19 23:34:50 +01:00
aspect.h video: simplify aspect calculation stuff 2013-03-17 22:07:13 +01:00
bitmap_packer.c Silence some compiler warnings 2013-05-21 00:04:27 +02:00
bitmap_packer.h
cocoa_common.h cocoa_common: remove play/pause VOCTRL functions 2013-06-14 07:34:47 +02:00
cocoa_common.m cocoa_common: change video size when changing screen DPI 2013-07-10 22:22:08 +02: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
dither.c dither: don't use long double 2013-07-05 20:26:32 +02:00
dither.h gl_video: improve dithering 2013-05-26 16:44:20 +02:00
filter_kernels.c
filter_kernels.h
gl_cocoa.c video/out: introduce vo_control for gl_common based VOs 2013-05-26 16:44:18 +02:00
gl_common.c gl_common: fix invalid alignment 2013-05-30 15:56:51 +02:00
gl_common.h gl_video: improve dithering 2013-05-26 16:44:20 +02:00
gl_header_fixes.h gl_header_fixes: add GL_RGBA32F 2013-03-28 22:55:56 +01:00
gl_lcms.c core: change open_stream and demux_open signature 2013-07-12 21:56:40 +02:00
gl_lcms.h vo_opengl: split into multiple files, convert to new option API 2013-03-28 21:46:17 +01:00
gl_osd.c add a way to resize window contents without VO resize 2013-05-12 15:27:54 +02:00
gl_osd.h add a way to resize window contents without VO resize 2013-05-12 15:27:54 +02:00
gl_video_shaders.glsl Merge remote-tracking branch 'origin/low_quality_intel_crap' 2013-07-08 18:07:54 +02:00
gl_video.c Merge remote-tracking branch 'origin/low_quality_intel_crap' 2013-07-08 18:07:54 +02:00
gl_video.h vo_opengl: handle chroma location 2013-06-28 21:20:41 +02:00
gl_w32.c video/out: introduce vo_control for gl_common based VOs 2013-05-26 16:44:18 +02:00
gl_wayland.c wayland: early aspect calculation in vo_config 2013-07-16 19:13:29 +02:00
gl_x11.c video/out: introduce vo_control for gl_common based VOs 2013-05-26 16:44:18 +02:00
pnm_loader.c
pnm_loader.h
vo_caca.c core: cleanup more mp_fifo leftovers 2013-07-02 14:11:31 +02:00
vo_corevideo.h
vo_corevideo.m video/out: introduce vo_control for gl_common based VOs 2013-05-26 16:44:18 +02:00
vo_direct3d.c w32: use vo_w32_control() for all VOs 2013-05-26 16:44:19 +02:00
vo_image.c vo: remove vo.check_events callback 2013-05-26 16:44:19 +02:00
vo_lavc.c vo_lavc: remove unused variable 2013-06-18 12:22:25 +02:00
vo_null.c vo: remove vo.check_events callback 2013-05-26 16:44:19 +02:00
vo_opengl_old.c video/out: introduce vo_control for gl_common based VOs 2013-05-26 16:44:18 +02:00
vo_opengl.c video: add a new method to configure filters and VOs 2013-06-28 20:34:46 +02:00
vo_sdl.c core: cleanup more mp_fifo leftovers 2013-07-02 14:11:31 +02:00
vo_vdpau.c Replace all calls to GetTimer()/GetTimerMS() 2013-05-26 16:44:20 +02:00
vo_x11.c input: handle mouse movement differently 2013-06-29 22:58:13 +02:00
vo_xv.c input: handle mouse movement differently 2013-06-29 22:58:13 +02:00
vo.c core: remove mp_fifo leftovers 2013-07-04 17:53:30 +02:00
vo.h core: remove mp_fifo leftovers 2013-07-04 17:53:30 +02:00
w32_common.c w32_common: don't use aspdat.asp for aspect 2013-07-16 00:03:51 +02:00
w32_common.h w32: enable screensaver when paused 2013-06-14 00:39:31 +02:00
wayland_common.c wayland: early aspect calculation in vo_config 2013-07-16 19:13:29 +02:00
wayland_common.h wayland: early aspect calculation in vo_config 2013-07-16 19:13:29 +02:00
x11_common.c core: cleanup more mp_fifo leftovers 2013-07-02 14:11:31 +02:00
x11_common.h Replace all calls to GetTimer()/GetTimerMS() 2013-05-26 16:44:20 +02:00