summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2012-01-10 21:18:26 +0100
committerwm4 <wm4@mplayer2.org>2012-01-10 21:18:26 +0100
commit7142d2e4c0f26fe74586dd6fc6f3943cb2707801 (patch)
tree2b7917e6c762521855a10992376dcec1c365e14a /libmpcodecs
parent278094e233d664356a4fd3d2613e444fcc9a726a (diff)
downloadmpv-7142d2e4c0f26fe74586dd6fc6f3943cb2707801.tar.bz2
mpv-7142d2e4c0f26fe74586dd6fc6f3943cb2707801.tar.xz
vf_gradfun: change default parameters
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vf_gradfun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vf_gradfun.c b/libmpcodecs/vf_gradfun.c
index ec1ad80abf..c74fbfe5fb 100644
--- a/libmpcodecs/vf_gradfun.c
+++ b/libmpcodecs/vf_gradfun.c
@@ -57,7 +57,7 @@ struct vf_priv_s {
void (*blur_line)(uint16_t *dc, uint16_t *buf, uint16_t *buf1,
uint8_t *src, int sstride, int width);
} const vf_priv_dflt = {
- .cfg_thresh = 1.2,
+ .cfg_thresh = 1.5,
.cfg_radius = -1,
.cfg_size = -1,
};
@@ -401,7 +401,7 @@ static int vf_open(vf_instance_t *vf, char *args)
}
if (!have_radius && !have_size)
- vf->priv->cfg_radius = 16;
+ vf->priv->cfg_size = 1.0;
vf->priv->thresh = (1<<15)/av_clipf(vf->priv->cfg_thresh,0.51,255);