diff options
author | wm4 <wm4@nowhere> | 2018-04-21 13:31:00 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-04-29 02:21:32 +0300 |
commit | c6b92884658f37f7ea9b55a595ddd252c57202c0 (patch) | |
tree | e72b3a2a2798f4d027ea00ab6e5c677c370c2231 /video/out/gpu | |
parent | c767451796704ba1d3cd497cd0f1b983edf041dd (diff) | |
download | mpv-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/out/gpu')
-rw-r--r-- | video/out/gpu/video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/gpu/video.c b/video/out/gpu/video.c index aeaff7a3b1..619e5a83ab 100644 --- a/video/out/gpu/video.c +++ b/video/out/gpu/video.c @@ -2628,7 +2628,7 @@ static void pass_draw_osd(struct gl_video *p, int draw_flags, double pts, if ((draw_flags & OSD_DRAW_SUB_ONLY) && (draw_flags & OSD_DRAW_OSD_ONLY)) return; - mpgl_osd_generate(p->osd, rect, pts, p->image_params.stereo_out, draw_flags); + mpgl_osd_generate(p->osd, rect, pts, p->image_params.stereo3d, draw_flags); timer_pool_start(p->osd_timer); for (int n = 0; n < MAX_OSD_PARTS; n++) { @@ -3294,7 +3294,7 @@ void gl_video_resize(struct gl_video *p, gl_video_reset_surfaces(p); if (p->osd) - mpgl_osd_resize(p->osd, p->osd_rect, p->image_params.stereo_out); + mpgl_osd_resize(p->osd, p->osd_rect, p->image_params.stereo3d); } static void frame_perf_data(struct pass_info pass[], struct mp_frame_perf *out) |