summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-11-29 17:37:30 +0100
committerwm4 <wm4@nowhere>2015-11-29 17:55:58 +0100
commite2c0e7f5c27e0dfda9271163205c527b8607edad (patch)
tree8c18439ca13f9c151ad3ffb1be640639bc63a492
parent8bf34950c101fbc6c0fd7135be600e6d53395ff6 (diff)
downloadmpv-e2c0e7f5c27e0dfda9271163205c527b8607edad.tar.bz2
mpv-e2c0e7f5c27e0dfda9271163205c527b8607edad.tar.xz
vo: remove redundant and broken code
This was stupid.
-rw-r--r--video/out/vo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 06b943f1a5..90018511d4 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -397,11 +397,9 @@ static void update_vsync_timing_after_swap(struct vo *vo)
MP_WARN(vo, "Reported display FPS seems incorrect.\n"
"Assuming a value closer to %.3f Hz.\n",
1e6 / in->estimated_vsync_interval);
- in->vsync_interval = in->estimated_vsync_interval;
} else {
MP_WARN(vo, "Switching back to assuming %.3f Hz.\n",
1e6 / in->nominal_vsync_interval);
- in->vsync_interval = in->nominal_vsync_interval;
}
}
in->vsync_interval = use_estimated ? (int64_t)in->estimated_vsync_interval