Mercurial > mplayer.hg
changeset 14973:08002417b7e4
don't buffer more future context that we need
author | rfelker |
---|---|
date | Sun, 20 Mar 2005 20:37:44 +0000 |
parents | e13f8066ed4b |
children | e6b885fef171 |
files | libmpcodecs/pullup.c libmpcodecs/vf_pullup.c |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/pullup.c Sun Mar 20 20:29:58 2005 +0000 +++ b/libmpcodecs/pullup.c Sun Mar 20 20:37:44 2005 +0000 @@ -492,7 +492,7 @@ struct pullup_field *f3 = f2->next; int l; - if (queue_length(c->first, c->last) < 6) return 0; + if (queue_length(c->first, c->last) < 4) return 0; foo(c); if (f0->affinity == -1) return 1; @@ -536,13 +536,13 @@ struct pullup_field *f0 = f; const char aff_l[] = "+..", aff_r[] = "..+"; printf("\naffinity: "); - for (i = 0; i < 6; i++) { + for (i = 0; i < 4; i++) { printf("%c%d%c", aff_l[1+f->affinity], i, aff_r[1+f->affinity]); f = f->next; } f = f0; printf("\nbreaks: "); - for (i=0; i<6; i++) { + for (i=0; i<4; i++) { printf("%c%d%c", f->breaks & BREAK_LEFT ? '|' : '.', i, f->breaks & BREAK_RIGHT ? '|' : '.'); f = f->next; }
--- a/libmpcodecs/vf_pullup.c Sun Mar 20 20:29:58 2005 +0000 +++ b/libmpcodecs/vf_pullup.c Sun Mar 20 20:37:44 2005 +0000 @@ -325,7 +325,7 @@ vf->default_reqs = VFCAP_ACCEPT_STRIDE; vf->priv = p = calloc(1, sizeof(struct vf_priv_s)); p->ctx = c = pullup_alloc_context(); - p->fakecount = 2; + p->fakecount = 1; c->verbose = verbose; c->junk_left = c->junk_right = 1; c->junk_top = c->junk_bottom = 4;