From: Andre Noll Date: Tue, 8 Apr 2014 17:20:35 +0000 (+0200) Subject: Merge branch 't/opusdec_busy_loop_fix' X-Git-Tag: v0.5.2~2 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=72e9bdf7c5c09ca4c20cad56c68a9a155cceff43;hp=ac138515387dfbad7bf2d7fd3f81d00360b8438f Merge branch 't/opusdec_busy_loop_fix' A single fix that was cooking since 2014-03-02. * t/opusdec_busy_loop_fix: opusdec: Fix busy loop. --- diff --git a/opusdec_filter.c b/opusdec_filter.c index d7489859..9022fbab 100644 --- a/opusdec_filter.c +++ b/opusdec_filter.c @@ -277,7 +277,7 @@ static void opusdec_pre_select(struct sched *s, struct task *t) if (ret != 0) return sched_min_delay(s); - if (ctx->have_more) + if (!ctx->have_more) return; if (btr_get_output_queue_size(fn->btrn) <= OPUSDEC_MAX_OUTPUT_SIZE) return sched_min_delay(s);