This commit still relies on a single input for PTS determination, to be changed in the next commit.
Unified · Split
| @@ -979,11 +979,13 @@ static int libplacebo_activate(AVFilterContext *ctx) · 978 unmodified lines | |||
| 979 | AVFilterLink *outlink = ctx->outputs[0]; | 979 | AVFilterLink *outlink = ctx->outputs[0]; |
| 980 | int64_t pts; | 980 | int64_t pts; |
| 981 | 981 | ||
| 982 | FF_FILTER_FORWARD_STATUS_BACK(outlink, in->link); | 982 | FF_FILTER_FORWARD_STATUS_BACK_ALL(outlink, ctx); |
| 983 | pl_log_level_update(s->log, get_log_level()); | 983 | pl_log_level_update(s->log, get_log_level()); |
| 984 | 984 | ||
| 985 | if ((ret = handle_input(ctx, in)) < 0) | 985 | for (int i = 0; i < s->nb_inputs; i++) { |
| 986 | return ret; | 986 | if ((ret = handle_input(ctx, &s->inputs[i])) < 0) |
| 987 | return ret; | ||
| 988 | } | ||
| 987 | 989 | ||
| 988 | if (ff_outlink_frame_wanted(outlink)) { | 990 | if (ff_outlink_frame_wanted(outlink)) { |
| 989 | if (s->fps.num) { | 991 | if (s->fps.num) { |