You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avfilter/vf_waveform: draw graticule for color filter too
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
		| @@ -1518,6 +1518,10 @@ static int config_input(AVFilterLink *inlink) | ||||
|             s->waveform = achroma; break; | ||||
|     case COLOR: | ||||
|             s->size = 256; | ||||
|             if (s->graticule && s->mode == 1) | ||||
|                 s->graticulef = s->bits > 8 ? graticule16_green_column : graticule_green_column; | ||||
|             else if (s->graticule && s->mode == 0) | ||||
|                 s->graticulef = s->bits > 8 ? graticule16_green_row : graticule_green_row; | ||||
|             s->waveform = s->bits > 8 ?   color16 :   color; break; | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user