We have to take the minimum input size into account when deciding
whether a minimal delay should be requested from the scheduler.
Without this, a busy loop is possible.
if (must_start_decoder())
goto min_delay;
if (must_start_decoder())
goto min_delay;
- ret = btr_node_status(st->btrn, 0, BTR_NT_LEAF);
+ ret = btr_node_status(st->btrn, st->min_iqs, BTR_NT_LEAF);
if (ret > 0)
goto min_delay;
if (st->ct && audiod_status == AUDIOD_OFF)
if (ret > 0)
goto min_delay;
if (st->ct && audiod_status == AUDIOD_OFF)