diff options
author | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-12-11 05:03:52 +0000 |
---|---|---|
committer | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-12-11 05:03:52 +0000 |
commit | ae729045608ce20c73f227349cde95a9a4e46743 (patch) | |
tree | 165eff43e6f74561da6de5f990f4eb4d08706ca2 /libmpcodecs/pullup.c | |
parent | b3b439b7cf66a9c305d194c3db2cebcdfbcaf52c (diff) | |
download | mpv-ae729045608ce20c73f227349cde95a9a4e46743.tar.bz2 mpv-ae729045608ce20c73f227349cde95a9a4e46743.tar.xz |
change some hardcoded thresholds to match results of previous 100l bugfix (without the 100000000l this time!)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11626 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/pullup.c')
-rw-r--r-- | libmpcodecs/pullup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/pullup.c b/libmpcodecs/pullup.c index 0b2c2da381..d52a322b83 100644 --- a/libmpcodecs/pullup.c +++ b/libmpcodecs/pullup.c @@ -438,10 +438,10 @@ static void compute_affinity(struct pullup_context *c, struct pullup_field *f) if (l > max_l) max_l = l; if (-l > max_r) max_r = -l; } - if (max_l + max_r < 128) return; + if (max_l + max_r < 64) return; if (max_r > 2*max_l) f->affinity = -1; else if (max_l > 2*max_r) f->affinity = 1; - else if (max_l + max_r > 2048) { + else if (max_l + max_r > 1024) { l = t = 0; for (i = 0; i < c->metric_len; i++) { l += f->licomb[i] - f->next->licomb[i]; |