You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	lavfi/avf_aphasemeter: set frame durations
The filter is supposed to produce CFR output.
This commit is contained in:
		| @@ -327,6 +327,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) | ||||
|         AVFrame *clone; | ||||
|  | ||||
|         s->out->pts = in->pts; | ||||
|         s->out->duration = av_rescale_q(1, av_inv_q(outlink->frame_rate), outlink->time_base); | ||||
|  | ||||
|         clone = av_frame_clone(s->out); | ||||
|         if (!clone) | ||||
|             return AVERROR(ENOMEM); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user