This commit still relies on a single input for PTS determination, to be changed in the next commit.
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -979,11 +979,13 @@ static int libplacebo_activate(AVFilterContext *ctx) · 978 unmodified lines | ||
| 979 | 979 | AVFilterLink *outlink = ctx->outputs[0]; |
| 980 | 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 | 983 | pl_log_level_update(s->log, get_log_level()); |
| 984 | 984 | |
| 985 | − if ((ret = handle_input(ctx, in)) < 0) | |
| 986 | − return ret; | |
| 985 | + for (int i = 0; i < s->nb_inputs; i++) { | |
| 986 | + if ((ret = handle_input(ctx, &s->inputs[i])) < 0) | |
| 987 | + return ret; | |
| 988 | + } | |
| 987 | 989 | |
| 988 | 990 | if (ff_outlink_frame_wanted(outlink)) { |
| 989 | 991 | if (s->fps.num) { |