mirror of https://github.com/mpv-player/mpv
bfe569b76e
Add a 'struct vo *vo' argument to the x11_common.c functions that access the variable so it's available as vo->opts->vo_ontop. To keep VOs using the old API working create a global vo variable that is set to the currently used old vo. "vo_ontop" will be #defined to "global_vo->opts->vo_ontop", and x11_common.h will add defines like the following when it is included by old VOs: #define vo_x11_ontop() vo_x11_ontop(global_vo) so that they will call the function according to the new declaration. |
||
---|---|---|
.. | ||
Makefile | ||
aclib.c | ||
aclib_template.c | ||
aspect.c | ||
aspect.h | ||
aspecttest.c | ||
fastmemcpy.h | ||
font_load.c | ||
font_load.h | ||
font_load_ft.c | ||
geometry.c | ||
geometry.h | ||
gl_common.c | ||
gl_common.h | ||
gtf.c | ||
gtf.h | ||
jpeg_enc.c | ||
jpeg_enc.h | ||
mga_common.c | ||
old_vo_defines.h | ||
old_vo_wrapper.c | ||
old_vo_wrapper.h | ||
osd.c | ||
osd.h | ||
osd_font.h | ||
osd_template.c | ||
spuenc.c | ||
spuenc.h | ||
sub.c | ||
sub.h | ||
vesa_lvo.c | ||
vesa_lvo.h | ||
video_out.c | ||
video_out.h | ||
video_out_internal.h | ||
videodev_mjpeg.h | ||
vo_3dfx.c | ||
vo_aa.c | ||
vo_bl.c | ||
vo_caca.c | ||
vo_cvidix.c | ||
vo_dfbmga.c | ||
vo_dga.c | ||
vo_directfb2.c | ||
vo_directx.c | ||
vo_dxr2.c | ||
vo_dxr3.c | ||
vo_fbdev.c | ||
vo_fbdev2.c | ||
vo_ggi.c | ||
vo_gif89a.c | ||
vo_gl.c | ||
vo_gl2.c | ||
vo_ivtv.c | ||
vo_jpeg.c | ||
vo_macosx.h | ||
vo_macosx.m | ||
vo_md5sum.c | ||
vo_mga.c | ||
vo_mpegpes.c | ||
vo_null.c | ||
vo_png.c | ||
vo_pnm.c | ||
vo_quartz.c | ||
vo_quartz.h | ||
vo_s3fb.c | ||
vo_sdl.c | ||
vo_svga.c | ||
vo_tdfx_vid.c | ||
vo_tdfxfb.c | ||
vo_tga.c | ||
vo_v4l2.c | ||
vo_vesa.c | ||
vo_winvidix.c | ||
vo_x11.c | ||
vo_xmga.c | ||
vo_xover.c | ||
vo_xv.c | ||
vo_xvidix.c | ||
vo_xvmc.c | ||
vo_xvr100.c | ||
vo_yuv4mpeg.c | ||
vo_zr.c | ||
vo_zr2.c | ||
vosub_vidix.c | ||
vosub_vidix.h | ||
w32_common.c | ||
w32_common.h | ||
wskeys.h | ||
x11_common.c | ||
x11_common.h |