summaryrefslogtreecommitdiffstats
path: root/video/filter
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-04-21 13:31:00 +0200
committerJan Ekström <jeebjp@gmail.com>2018-04-29 02:21:32 +0300
commitc6b92884658f37f7ea9b55a595ddd252c57202c0 (patch)
treee72b3a2a2798f4d027ea00ab6e5c677c370c2231 /video/filter
parentc767451796704ba1d3cd497cd0f1b983edf041dd (diff)
downloadmpv-c6b92884658f37f7ea9b55a595ddd252c57202c0.tar.bz2
mpv-c6b92884658f37f7ea9b55a595ddd252c57202c0.tar.xz
video: remove internal stereo_out flag
Also rename stereo3d to stereo_in. The only real change is that the vo_gpu OSD code now uses the actual stereo 3D mode, instead of the --video-steroe-mode value. (Why does this vo_gpu code even exist?)
Diffstat (limited to 'video/filter')
-rw-r--r--video/filter/vf_format.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/video/filter/vf_format.c b/video/filter/vf_format.c
index 48eb51a795..3e44e379e2 100644
--- a/video/filter/vf_format.c
+++ b/video/filter/vf_format.c
@@ -50,7 +50,6 @@ struct vf_format_opts {
int light;
int chroma_location;
int stereo_in;
- int stereo_out;
int rotate;
int dw, dh;
double dar;
@@ -108,9 +107,7 @@ static void vf_format_process(struct mp_filter *f)
if (p->chroma_location)
out->chroma_location = p->chroma_location;
if (p->stereo_in)
- out->stereo_in = p->stereo_in;
- if (p->stereo_out)
- out->stereo_out = p->stereo_out;
+ out->stereo3d = p->stereo_in;
if (p->rotate >= 0)
out->rotate = p->rotate;
@@ -183,7 +180,6 @@ static const m_option_t vf_opts_fields[] = {
OPT_CHOICE_C("light", light, 0, mp_csp_light_names),
OPT_CHOICE_C("chroma-location", chroma_location, 0, mp_chroma_names),
OPT_CHOICE_C("stereo-in", stereo_in, 0, mp_stereo3d_names),
- OPT_CHOICE_C("stereo-out", stereo_out, 0, mp_stereo3d_names),
OPT_INTRANGE("rotate", rotate, 0, -1, 359),
OPT_INT("dw", dw, 0),
OPT_INT("dh", dh, 0),