diff options
author | wm4 <wm4@nowhere> | 2015-04-02 23:54:08 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-04-02 23:54:08 +0200 |
commit | 5a2825ec35446ae2127c0fb204203cd09738c4ed (patch) | |
tree | 90e24f12b16912e1ce2894f28839e716653066d2 /video/filter/vf_stereo3d.c | |
parent | 19f56e20979d1dbbb4b9956c955d4d0fa27516aa (diff) | |
download | mpv-5a2825ec35446ae2127c0fb204203cd09738c4ed.tar.bz2 mpv-5a2825ec35446ae2127c0fb204203cd09738c4ed.tar.xz |
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.)
Diffstat (limited to 'video/filter/vf_stereo3d.c')
-rw-r--r-- | video/filter/vf_stereo3d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_stereo3d.c b/video/filter/vf_stereo3d.c index 21a171aeda..761e3b684d 100644 --- a/video/filter/vf_stereo3d.c +++ b/video/filter/vf_stereo3d.c @@ -468,7 +468,7 @@ static const char *rev_map_name(int val) } // Extremely stupid; can be dropped when the internal filter is dropped, -// and OPT_VID_STEREO_MODE() can be used instead. +// and OPT_CHOICE_C() can be used instead. static int opt_to_stereo3dmode(int val) { // Find x for rev_map_name(val) == MP_STEREO3D_NAME(x) |