summaryrefslogtreecommitdiffstats
path: root/video/out/vo_vdpau.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-02-08 21:09:18 +0100
committerwm4 <wm4@nowhere>2013-02-09 00:21:17 +0100
commit88d843f909f00ffd9c25016a9af58546fabbfd2c (patch)
tree835450867fbd262fac8af7831df1c7732b86ffe2 /video/out/vo_vdpau.c
parent267a889cc2c5ca688a2b8fc93cf8e5349a3c8a44 (diff)
downloadmpv-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_vdpau.c')
-rw-r--r--video/out/vo_vdpau.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c
index 295770c80e..d97a4ac48d 100644
--- a/video/out/vo_vdpau.c
+++ b/video/out/vo_vdpau.c
@@ -1642,13 +1642,13 @@ const struct vo_driver video_out_vdpau = {
.priv_size = sizeof(struct vdpctx),
.options = (const struct m_option []){
OPT_INTRANGE("deint", deint, 0, -4, 4),
- OPT_FLAG_ON("chroma-deint", chroma_deint, 0, OPTDEF_INT(1)),
- OPT_MAKE_FLAGS("pullup", pullup, 0),
+ OPT_FLAG("chroma-deint", chroma_deint, 0, OPTDEF_INT(1)),
+ OPT_FLAG("pullup", pullup, 0),
OPT_FLOATRANGE("denoise", denoise, 0, 0, 1),
OPT_FLOATRANGE("sharpen", sharpen, 0, -1, 1),
OPT_INTRANGE("hqscaling", hqscaling, 0, 0, 9),
OPT_FLOAT("fps", user_fps, 0),
- OPT_FLAG_ON("composite-detect", composite_detect, 0, OPTDEF_INT(1)),
+ OPT_FLAG("composite-detect", composite_detect, 0, OPTDEF_INT(1)),
OPT_INT("queuetime_windowed", flip_offset_window, 0, OPTDEF_INT(50)),
OPT_INT("queuetime_fs", flip_offset_fs, 0, OPTDEF_INT(50)),
OPT_INTRANGE("output_surfaces", num_output_surfaces, 0,