mirror of
https://github.com/mpv-player/mpv
synced 2025-01-18 04:51:52 +00:00
6775487a46
Remove the special casing of vo_vdpau vs. other VOs. Replace the complicated interaction between vo.c and vo_vdpau.c with a simple queue in vo.c. VOs other than vdpau are handled by setting the length of the queue to 1 (this is essentially what waiting_mpi was). Note that vo_vdpau.c seems to have buffered only 1 or 2 frames into the future, while the remaining 3 or 4 frames were past frames. So the new code buffers 2 frames (vo_vdpau.c requests this queue length by setting vo->max_video_queue to 2). It should probably be investigated why vo_vdpau.c kept so many past frames. The field vo->redrawing is removed. I'm not really sure what that would be needed for; it seems pointless. Future directions include making the interface between playloop and VO simpler, as well as making rendering a frame a single operation, as opposed to the weird 3-step sequence of rendering, drawing OSD, and flipping. |
||
---|---|---|
.. | ||
cocoa | ||
aspect.c | ||
aspect.h | ||
bitmap_packer.c | ||
bitmap_packer.h | ||
cocoa_common.h | ||
cocoa_common.m | ||
d3d_shader_yuv.h | ||
d3d_shader_yuv.hlsl | ||
dither.c | ||
dither.h | ||
filter_kernels.c | ||
filter_kernels.h | ||
gl_cocoa.c | ||
gl_common.c | ||
gl_common.h | ||
gl_header_fixes.h | ||
gl_hwdec_vaglx.c | ||
gl_hwdec_vda.c | ||
gl_hwdec_vdpau.c | ||
gl_lcms.c | ||
gl_lcms.h | ||
gl_osd.c | ||
gl_osd.h | ||
gl_video_shaders.glsl | ||
gl_video.c | ||
gl_video.h | ||
gl_w32.c | ||
gl_wayland.c | ||
gl_x11.c | ||
pnm_loader.c | ||
pnm_loader.h | ||
vo_caca.c | ||
vo_corevideo.c | ||
vo_direct3d.c | ||
vo_image.c | ||
vo_lavc.c | ||
vo_null.c | ||
vo_opengl_old.c | ||
vo_opengl.c | ||
vo_sdl.c | ||
vo_vaapi.c | ||
vo_vdpau.c | ||
vo_wayland.c | ||
vo_x11.c | ||
vo_xv.c | ||
vo.c | ||
vo.h | ||
w32_common.c | ||
w32_common.h | ||
wayland_common.c | ||
wayland_common.h | ||
x11_common.c | ||
x11_common.h | ||
x11_icon.bin |