mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/vf_xmedian: fix multiple threads usage
This commit is contained in:
parent
3415028d13
commit
1148e5f1cc
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue