From 5a2825ec35446ae2127c0fb204203cd09738c4ed Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 2 Apr 2015 23:54:08 +0200 Subject: video: cleanup stereo mode parsing Use OPT_CHOICE_C() instead of the custom parser. The functionality is pretty much equivalent. (On a side note, it seems --video-stereo-mode can't be removed, because it controls whether to "reduce" stereo video to mono, which is also the default. In fact I'm not sure how this should be handled at all.) --- options/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options/options.c') diff --git a/options/options.c b/options/options.c index e2a17382d9..e58fb89580 100644 --- a/options/options.c +++ b/options/options.c @@ -426,7 +426,7 @@ const m_option_t mp_opts[] = { OPT_FLAG("force-rgba-osd-rendering", force_rgba_osd, 0), OPT_CHOICE_OR_INT("video-rotate", video_rotate, 0, 0, 360, ({"no", -1})), - OPT_VID_STEREO_MODE("video-stereo-mode", video_stereo_mode, 0), + OPT_CHOICE_C("video-stereo-mode", video_stereo_mode, 0, mp_stereo3d_names), OPT_CHOICE_OR_INT("cursor-autohide", cursor_autohide_delay, 0, 0, 30000, ({"no", -1}, {"always", -2})), -- cgit v1.2.3