From 6ff1cd5502e4f88783c4bb615164b875511d9b71 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 29 Nov 2015 13:04:01 +0100 Subject: vo_opengl: make tscale=mitchell:tscale-clamp the default Looks better than "oversample". tscale-clamp suggested by haasn. --- DOCS/man/vo.rst | 2 +- video/out/opengl/video.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst index bde8314bbd..0707f36224 100644 --- a/DOCS/man/vo.rst +++ b/DOCS/man/vo.rst @@ -526,7 +526,7 @@ Available video output drivers are: The filter used for interpolating the temporal axis (frames). This is only used if ``interpolation`` is enabled. The only valid choices for ``tscale`` are separable convolution filters (use ``tscale=help`` - to get a list). The default is ``oversample``. + to get a list). The default is ``mitchell``. Note that the maximum supported filter radius is currently 3, due to limitations in the number of video textures that can be loaded diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c index 70e98aeea1..287c240691 100644 --- a/video/out/opengl/video.c +++ b/video/out/opengl/video.c @@ -345,7 +345,8 @@ const struct gl_video_opts gl_video_opts_def = { {{"bilinear", .params={NAN, NAN}}, {.params = {NAN, NAN}}}, // scale {{NULL, .params={NAN, NAN}}, {.params = {NAN, NAN}}}, // dscale {{"bilinear", .params={NAN, NAN}}, {.params = {NAN, NAN}}}, // cscale - {{"oversample", .params={NAN, NAN}}, {.params = {NAN, NAN}}}, // tscale + {{"mitchell", .params={NAN, NAN}}, {.params = {NAN, NAN}}, + .clamp = 1, }, // tscale }, .alpha_mode = 2, .background = {0, 0, 0, 255}, @@ -367,7 +368,8 @@ const struct gl_video_opts gl_video_opts_hq_def = { {{"spline36", .params={NAN, NAN}}, {.params = {NAN, NAN}}}, // scale {{"mitchell", .params={NAN, NAN}}, {.params = {NAN, NAN}}}, // dscale {{"spline36", .params={NAN, NAN}}, {.params = {NAN, NAN}}}, // cscale - {{"oversample", .params={NAN, NAN}}, {.params = {NAN, NAN}}}, // tscale + {{"mitchell", .params={NAN, NAN}}, {.params = {NAN, NAN}}, + .clamp = 1, }, // tscale }, .alpha_mode = 2, .background = {0, 0, 0, 255}, -- cgit v1.2.3