You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avfilter/vf_xmedian: fix multiple threads usage
This commit is contained in:
		| @@ -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); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user