+}
+
+static int prebuffer_post_select(__a_unused struct sched *s, struct task *t)
+{
+ struct filter_node *fn = container_of(t, struct filter_node, task);
+ struct btr_node *btrn = fn->btrn;
+ size_t iqs = btr_get_input_queue_size(btrn);
+ struct private_prebuffer_data *ppd = fn->private_data;
+ struct prebuffer_filter_args_info *conf = ppd->conf;
+
+ if (ppd->barrier.tv_sec == 0)
+ return 0;
+ if (tv_diff(now, &ppd->barrier, NULL) < 0)
+ return 0;
+ if (iqs < conf->size_arg)
+ return 0;
+ btr_splice_out_node(&fn->btrn);
+ return -E_PREBUFFER_SUCCESS;