Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -542,6 +542,7 @@ static int config_props(AVFilterLink *outlink) · 541 unmodified lines | ||
| 542 | 542 | av_opt_set_int(s, "sws_flags", scale->flags, 0); |
| 543 | 543 | av_opt_set_int(s, "param0", scale->param[0], 0); |
| 544 | 544 | av_opt_set_int(s, "param1", scale->param[1], 0); |
| 545 | + av_opt_set_int(s, "threads", ff_filter_get_nb_threads(ctx), 0); | |
| 545 | 546 | if (scale->in_range != AVCOL_RANGE_UNSPECIFIED) |
| 546 | 547 | av_opt_set_int(s, "src_range", |
| 547 | 548 | scale->in_range == AVCOL_RANGE_JPEG, 0); |