summaryrefslogtreecommitdiffstats
path: root/video/out/gl_video.h
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2015-08-20 21:45:58 +0200
committerwm4 <wm4@nowhere>2015-08-20 21:55:19 +0200
commite1fd80097c6c224c9de06182d0a9aa0d21a57a67 (patch)
tree215e0f15984b045d5bc8df4149824b2a891bee30 /video/out/gl_video.h
parent96648169e342b9843246075a36fae2ad0bd06f88 (diff)
downloadmpv-e1fd80097c6c224c9de06182d0a9aa0d21a57a67.tar.bz2
mpv-e1fd80097c6c224c9de06182d0a9aa0d21a57a67.tar.xz
vo_opengl: add tscale-clamp option
This significantly reduces the amount of noticeable flashing when using tscale kernels with negative lobes, by cutting them off completely. I'm not sure if this has any negative effects. It needs a bit of subjective testing over a period of time, so I just made it an option. Fixes #2155.
Diffstat (limited to 'video/out/gl_video.h')
-rw-r--r--video/out/gl_video.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/gl_video.h b/video/out/gl_video.h
index 0881025a14..385477e051 100644
--- a/video/out/gl_video.h
+++ b/video/out/gl_video.h
@@ -39,6 +39,7 @@ struct scaler_config {
struct scaler_fun window;
float radius;
float antiring;
+ int clamp;
};
struct gl_video_opts {