Message ID | 20220920175021.60790-8-rcombs@rcombs.me |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,1/7] lavu/cpu: add av_cpu_job_count() | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/configure_x86 | warning | Failed to run configure |
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index 2b12cf283c..db984725bd 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@ -544,6 +544,7 @@ static int config_props(AVFilterLink *outlink) av_opt_set_int(s, "param0", scale->param[0], 0); av_opt_set_int(s, "param1", scale->param[1], 0); av_opt_set_int(s, "threads", ff_filter_get_nb_threads(ctx), 0); + av_opt_set_int(s, "jobs", ff_filter_get_nb_jobs(ctx), 0); if (scale->in_range != AVCOL_RANGE_UNSPECIFIED) av_opt_set_int(s, "src_range", scale->in_range == AVCOL_RANGE_JPEG, 0);