ffmpeg | branch: master | Paul B Mahol <[email protected]> | Mon Mar 7 13:27:32 2016 +0100| [f659b70eb0935e8f80ea8a9457e1bb360150df58] | committer: Paul B Mahol
avfilter/vf_waveform: draw graticule for color filter too Signed-off-by: Paul B Mahol <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f659b70eb0935e8f80ea8a9457e1bb360150df58 --- libavfilter/vf_waveform.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavfilter/vf_waveform.c b/libavfilter/vf_waveform.c index 9d02428..3e14d50 100644 --- a/libavfilter/vf_waveform.c +++ b/libavfilter/vf_waveform.c @@ -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; } _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
