diff options
author | wm4 <wm4@nowhere> | 2013-02-08 21:09:18 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-02-09 00:21:17 +0100 |
commit | 88d843f909f00ffd9c25016a9af58546fabbfd2c (patch) | |
tree | 835450867fbd262fac8af7831df1c7732b86ffe2 /video/out/vo_sdl.c | |
parent | 267a889cc2c5ca688a2b8fc93cf8e5349a3c8a44 (diff) | |
download | mpv-88d843f909f00ffd9c25016a9af58546fabbfd2c.tar.bz2 mpv-88d843f909f00ffd9c25016a9af58546fabbfd2c.tar.xz |
cleanup: replace OPT_FLAG_ON and OPT_MAKE_FLAGS with OPT_FLAG
OPT_MAKE_FLAGS() used to emit two options (one with "no" prefixed),
but that has been long removed by special casing flag options in the
option parser. OPT_FLAG_ON() used to imply that there's no "no-"
prefixed option, but this hasn't been the case for a while either.
(Conceptually, it has been replaced by OPT_FLAG_STORE().)
Remove OPT_FLAG_OFF, which was unused.
Diffstat (limited to 'video/out/vo_sdl.c')
-rw-r--r-- | video/out/vo_sdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_sdl.c b/video/out/vo_sdl.c index ec4cc97ca0..e708b3afc6 100644 --- a/video/out/vo_sdl.c +++ b/video/out/vo_sdl.c @@ -1035,7 +1035,7 @@ const struct vo_driver video_out_sdl = { .renderer_index = -1 }, .options = (const struct m_option []){ - OPT_FLAG_ON("sw", allow_sw, 0), + OPT_FLAG("sw", allow_sw, 0), {NULL} }, .preinit = preinit, |