summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/video.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-01-27 21:07:17 +0100
committerwm4 <wm4@nowhere>2016-01-27 21:07:17 +0100
commit34bead485987b416685e73ca918610fff75d618d (patch)
treea83b162051ee7c4cbd6cb8ea58ec2e4f3d6aa999 /video/out/opengl/video.h
parent7b6e3772ab7a39fc81e7524540e69eb30c4da7ac (diff)
downloadmpv-34bead485987b416685e73ca918610fff75d618d.tar.bz2
mpv-34bead485987b416685e73ca918610fff75d618d.tar.xz
vo_opengl: replace tscale-interpolates-only with interpolation-threshold
The previous approach was too naive, and can e.g. ruin playback if scheduling switches e.g. between 1 and 2 vsync per frame.
Diffstat (limited to 'video/out/opengl/video.h')
-rw-r--r--video/out/opengl/video.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/video.h b/video/out/opengl/video.h
index ea6981705c..a1918bef39 100644
--- a/video/out/opengl/video.h
+++ b/video/out/opengl/video.h
@@ -83,7 +83,6 @@ struct gl_video_opts {
float sigmoid_center;
float sigmoid_slope;
int scaler_resizes_only;
- int tscale_interpolates_only;
int pbo;
int dither_depth;
int dither_algo;
@@ -95,6 +94,7 @@ struct gl_video_opts {
int use_rectangle;
struct m_color background;
int interpolation;
+ float interpolation_threshold;
int blend_subs;
char *scale_shader;
char **pre_shaders;