1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-05 06:30:06 +00:00
mpv/video/out
wm4 9b7fb867f7 options: drop --opt:subopt option names
For all suboptions, "flat" options were available by separating the
parent option and the sub option with ":", e.g. "--rawvideo:w=123". Drop
this syntax and use "-" as separator. This means even suboptions are
available as normal options now, e.g. "--rawvideo-w=123". The old syntax
doesn't work anymore.

Note that this is completely separate from actual suboptions. For
example, "-rawvideo w=123:h=123" still works. (Not that this syntax is
worth supporting, but it's needed anyway, for for other things like vf
and vo suboptions.)

As a consequence of this change, we also have to add new "no-" prefixed
options for flag suboptions, so that "--no-input-default-bindings"
works. ("--input-no-default-bindings" also works as a consequence of
allowing "-input no-default-bindings" - they are handled by the same
underlying option.)

For --input, always use the full syntax in the manpage. There exist
suboptions other than --input (like --tv, --rawvideo, etc.), but since
they might be handled differently in the future, don't touch these yet.

M_OPT_PREFIXED becomes the default, so remove it. As a minor unrelated
cleanup, get rid of M_OPT_MERGE too and use the OPT_SUBSTRUCT() macro in
some places.

Unrelated: remove the duplicated --tv:buffersize option, fix a typo in
changes.rst.
2013-02-23 00:07:11 +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
cocoa_common.m core: add fs-screen option for fullscreen display selection 2013-02-21 22:23:08 +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 x11: simplify handling of X Visuals and Colormaps in VOs 2013-01-27 13:32:27 +01:00
gl_common.h gl_common: move things used by vo_opengl_old.c only to vo_opengl_old.c 2013-01-13 23:30:13 +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 Prefix keycode defines with MP_ 2013-02-12 10:27:00 +01:00
vo_corevideo.h
vo_corevideo.m vo_corevideo: make compile with recent changes 2013-01-15 01:00:07 +01:00
vo_direct3d.c vo_direct3d: remove 2ch hack for 10 bit playback 2013-01-13 20:04:14 +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 options: move -geometry parsing to m_option.c 2013-01-23 10:56:11 +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 vo_opengl: always dither 2013-01-27 13:27:32 +01:00
vo_sdl.c Prefix keycode defines with MP_ 2013-02-12 10:27:00 +01:00
vo_vdpau.c cleanup: replace OPT_FLAG_ON and OPT_MAKE_FLAGS with OPT_FLAG 2013-02-09 00:21:17 +01:00
vo_x11.c vo_x11: fix redrawing on expose events 2013-01-27 13:32:39 +01:00
vo_xv.c vo_xv: fix green border on the right 2013-02-14 20:41:09 +01:00
vo.c core: move xineramascreen to MPOpts as vo_screen_id 2013-02-21 22:23:08 +01:00
vo.h core: move xineramascreen to MPOpts as vo_screen_id 2013-02-21 22:23:08 +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 core: add fs-screen option for fullscreen display selection 2013-02-21 22:23:08 +01:00
x11_common.h core: add fs-screen option for fullscreen display selection 2013-02-21 22:23:08 +01:00