0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/video
wm4 d511ef79a0 core: simplify OSD capability handling, remove VFCAP_OSD
VFCAP_OSD was used to determine at runtime whether the VO supports OSD
rendering. This was mostly unused. vo_direct3d had an option to disable
OSD (was supposed to allow to force auto-insertion of vf_ass, but we
removed that anyway). vo_opengl_old could disable OSD rendering when a
very old OpenGL version was detected, and had an option to explicitly
disable it as well.

Remove VFCAP_OSD from everything (and some associated logic). Now the
vo_driver.draw_osd callback can be set to NULL to indicate missing OSD
support (important so that vo_null etc. don't single-step on OSD
redraw), and if OSD support depends on runtime support, the VO's
draw_osd should just do nothing if OSD is not available.

Also, do not access vo->want_redraw directly. Change the want_redraw
reset logic for this purpose, too. (Probably unneeded, vo_flip_page
resets it already.)
2013-03-01 11:16:01 +01:00
..
decode video/out: remove video mode switching (--vm) 2013-02-26 02:01:48 +01:00
filter core: simplify OSD capability handling, remove VFCAP_OSD 2013-03-01 11:16:01 +01:00
out core: simplify OSD capability handling, remove VFCAP_OSD 2013-03-01 11:16:01 +01:00
csputils.c Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
csputils.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
fmt-conversion.c demux_mf: support .xbm 2013-02-24 16:51:29 +01:00
fmt-conversion.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
image_writer.c cleanup: replace OPT_FLAG_ON and OPT_MAKE_FLAGS with OPT_FLAG 2013-02-09 00:21:17 +01:00
image_writer.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00
img_format.c img_format: add pixel format name for IMGFMT_MONO_W 2013-02-26 01:55:52 +01:00
img_format.h demux_mf: support .xbm 2013-02-24 16:51:29 +01:00
img_fourcc.h core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
memcpy_pic.h vf_expand: support more image formats 2013-01-13 20:04:13 +01:00
mp_image_pool.c mp_image_pool: add pool to avoid frequent image reallocations 2013-01-13 17:39:32 +01:00
mp_image_pool.h mp_image_pool: add pool to avoid frequent image reallocations 2013-01-13 17:39:32 +01:00
mp_image.c mp_image: remove mp_image.bpp 2013-01-13 20:04:13 +01:00
mp_image.h mp_image: remove mp_image.bpp 2013-01-13 20:04:13 +01:00
sws_utils.c sws_utils: use libswscale for GBRP output if available 2013-01-27 13:30:53 +01:00
sws_utils.h sub: reimplement -spugauss as --sub-gauss 2012-11-25 23:40:07 +01:00
vfcap.h core: simplify OSD capability handling, remove VFCAP_OSD 2013-03-01 11:16:01 +01:00