]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - oggdec_filter.c
oggdec: Fix a thinko in post_select().
[paraslash.git] / oggdec_filter.c
index f14d97c13dec8c2c3fe6660aadb5d7b6d3d2c328..2f52d4d43b759765cc786fab0930e3b0fd91dc45 100644 (file)
@@ -243,7 +243,7 @@ static void ogg_post_select(__a_unused struct sched *s, struct task *t)
                if (read_ret < 0)
                        goto out;
                btr_add_output(out, read_ret, btrn);
-               if (btr_node_status(btrn, fn->min_iqs, BTR_NT_INTERNAL) == 0)
+               if (btr_get_output_queue_size(btrn) > 640 * 1024)
                        return; /* enough data for the moment */
        }
 out: