diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-03-09 18:59:15 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-03-09 18:59:15 +0200 |
commit | b0986b3760b0174be6a58e1754353102f3230c79 (patch) | |
tree | 0c9f5a05216a547ae4ddf3b2669749f88ec3f801 /libmpcodecs/vf_spp.c | |
parent | 5fc54a6caad5f24b993da2e282c896269a6abc49 (diff) | |
parent | 23db422c3d40a5202d61b5ca154cf5286d9ac0a5 (diff) | |
download | mpv-b0986b3760b0174be6a58e1754353102f3230c79.tar.bz2 mpv-b0986b3760b0174be6a58e1754353102f3230c79.tar.xz |
Merge svn changes up to r30463
Note that r30455 is wrong, that commit does not in fact change the
default behavior as claimed in the commit message. It only breaks
"-af-adv force=0", which was already pretty much useless though.
Diffstat (limited to 'libmpcodecs/vf_spp.c')
-rw-r--r-- | libmpcodecs/vf_spp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/vf_spp.c b/libmpcodecs/vf_spp.c index 8dfcf41b5c..c04e3b1e1f 100644 --- a/libmpcodecs/vf_spp.c +++ b/libmpcodecs/vf_spp.c @@ -401,7 +401,7 @@ static void filter(struct vf_priv_s *p, uint8_t *dst, uint8_t *src, int dst_stri qp= p->qp; else{ qp= qp_store[ (XMIN(x, width-1)>>qps) + (XMIN(y, height-1)>>qps) * qp_stride]; - if(p->mpeg2) qp = FFMAX(1, qp>>1); + qp = FFMAX(1, norm_qscale(qp, p->mpeg2)); } for(i=0; i<count; i++){ const int x1= x + offset[i+count-1][0]; |