You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avfilter/showcqt: set some frame properties
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
This commit is contained in:
		| @@ -1073,6 +1073,8 @@ static int plot_cqt(AVFilterContext *ctx, AVFrame **frameout) | ||||
|         AVFrame *out = *frameout = ff_get_video_buffer(outlink, outlink->w, outlink->h); | ||||
|         if (!out) | ||||
|             return AVERROR(ENOMEM); | ||||
|         out->sample_aspect_ratio = av_make_q(1, 1); | ||||
|         av_frame_set_color_range(out, AVCOL_RANGE_MPEG); | ||||
|         UPDATE_TIME(s->alloc_time); | ||||
|  | ||||
|         if (s->bar_h) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user