[MPlayer-cvslog] CVS: main/libmpcodecs pullup.c, 1.24, 1.25 vf_pullup.c, 1.11, 1.12
Richard Felker CVS
syncmail at mplayerhq.hu
Sun Mar 20 21:37:47 CET 2005
CVS change done by Richard Felker CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv9342/libmpcodecs
Modified Files:
pullup.c vf_pullup.c
Log Message:
don't buffer more future context that we need
Index: pullup.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/pullup.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- pullup.c 20 Mar 2005 20:02:45 -0000 1.24
+++ pullup.c 20 Mar 2005 20:37:44 -0000 1.25
@@ -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;
}
Index: vf_pullup.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_pullup.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- vf_pullup.c 20 Mar 2005 20:03:41 -0000 1.11
+++ vf_pullup.c 20 Mar 2005 20:37:44 -0000 1.12
@@ -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;
More information about the MPlayer-cvslog
mailing list