summaryrefslogtreecommitdiffstats
path: root/video/out/vo_vdpau.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_vdpau.c')
-rw-r--r--video/out/vo_vdpau.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c
index 2ce3764b2a..25ab72db80 100644
--- a/video/out/vo_vdpau.c
+++ b/video/out/vo_vdpau.c
@@ -1152,15 +1152,18 @@ const struct vo_driver video_out_vdpau = {
OPT_INTRANGE("hqscaling", hqscaling, 0, 0, 9),
OPT_FLOAT("fps", user_fps, 0),
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,
+ 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,
2, MAX_OUTPUT_SURFACES, OPTDEF_INT(3)),
OPT_COLOR("colorkey", colorkey, 0,
.defval = &(const struct m_color) {
.r = 2, .g = 5, .b = 7, .a = 255,
}),
OPT_FLAG("force-yuv", force_yuv, 0),
+ OPT_REPLACED("queuetime_windowed", "queuetime-windowed"),
+ OPT_REPLACED("queuetime_fs", "queuetime-fs"),
+ OPT_REPLACED("output_surfaces", "output-surfaces"),
{NULL},
},
.legacy_prefix = "vo-vdpau",