From c6b92884658f37f7ea9b55a595ddd252c57202c0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Apr 2018 13:31:00 +0200 Subject: 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?) --- video/filter/vf_format.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'video/filter') 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), -- cgit v1.2.3