diff options
author | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-03-20 20:37:44 +0000 |
---|---|---|
committer | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-03-20 20:37:44 +0000 |
commit | 5b819b022cf027807269fb4703bb9a9781abad9d (patch) | |
tree | 31c0dbc9859af57519e1771304823a939b3e11d8 /libmpcodecs/pullup.c | |
parent | f68a1942f1f88460b0e4be744d37757ee7034e6d (diff) | |
download | mpv-5b819b022cf027807269fb4703bb9a9781abad9d.tar.bz2 mpv-5b819b022cf027807269fb4703bb9a9781abad9d.tar.xz |
don't buffer more future context that we need
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14974 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/pullup.c')
-rw-r--r-- | libmpcodecs/pullup.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |