ffmpeg | branch: master | Paul B Mahol <[email protected]> | Fri Apr 29 21:14:32 2022 +0200| [1148e5f1cca6e00f2e4bd123978ad9e6c1790198] | committer: Paul B Mahol
avfilter/vf_xmedian: fix multiple threads usage > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1148e5f1cca6e00f2e4bd123978ad9e6c1790198 --- libavfilter/vf_xmedian.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_xmedian.c b/libavfilter/vf_xmedian.c index 96b6721d98..7f7f3de12a 100644 --- a/libavfilter/vf_xmedian.c +++ b/libavfilter/vf_xmedian.c @@ -430,7 +430,7 @@ static int tmedian_filter_frame(AVFilterLink *inlink, AVFrame *in) td.out = out; td.in = s->frames; ff_filter_execute(ctx, s->median_frames, &td, NULL, - FFMIN(s->height[0], ff_filter_get_nb_threads(ctx))); + FFMIN(s->height[1], s->nb_threads)); return ff_filter_frame(outlink, out); } _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
