const AVClass *class;
int w, h;
AVFrame *outpicref;
- int req_fullfilled;
int nb_display_channels;
int channel_height;
int sliding; ///< 1 if sliding mode, 0 otherwise
unsigned i;
int ret;
- s->req_fullfilled = 0;
- do {
+ /* TODO reindent */
ret = ff_request_frame(inlink);
if (ret == AVERROR_EOF && s->sliding == FULLFRAME && s->xpos > 0 &&
s->outpicref) {
}
ret = ff_filter_frame(outlink, s->outpicref);
s->outpicref = NULL;
- s->req_fullfilled = 1;
}
- } while (!s->req_fullfilled && ret >= 0);
return ret;
}
if (s->xpos >= outlink->w)
s->xpos = 0;
if (s->sliding != FULLFRAME || s->xpos == 0) {
- s->req_fullfilled = 1;
ret = ff_filter_frame(outlink, av_frame_clone(s->outpicref));
if (ret < 0)
return ret;