diff --git a/libmpcodecs/pullup.c b/libmpcodecs/pullup.c index aa20b7905e..ed4034dcd6 100644 --- a/libmpcodecs/pullup.c +++ b/libmpcodecs/pullup.c @@ -492,7 +492,7 @@ static int decide_frame_length(struct pullup_context *c) 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 @@ static void print_aff_and_breaks(struct pullup_context *c, struct pullup_field * 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; } diff --git a/libmpcodecs/vf_pullup.c b/libmpcodecs/vf_pullup.c index 54fe3626de..ba914e9a11 100644 --- a/libmpcodecs/vf_pullup.c +++ b/libmpcodecs/vf_pullup.c @@ -325,7 +325,7 @@ static int open(vf_instance_t *vf, char* args) 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;