diff options
author | Muhammad Faiz <mfcc64@gmail.com> | 2016-06-24 15:06:39 +0700 |
---|---|---|
committer | Muhammad Faiz <mfcc64@gmail.com> | 2016-06-24 15:33:16 +0700 |
commit | 1b7eaead0cd41b75477390c3660778fb9758e9fc (patch) | |
tree | 118bb68d46a0695916ccaf69633bf76bb3f6f54f /libavfilter | |
parent | 6935aaa7484199a27fefe522669fd2593dee1397 (diff) | |
download | ffmpeg-1b7eaead0cd41b75477390c3660778fb9758e9fc.tar.gz |
avfilter/showcqt: set some frame properties
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avf_showcqt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/avf_showcqt.c b/libavfilter/avf_showcqt.c index 8863ea152e..16bb2be8d7 100644 --- a/libavfilter/avf_showcqt.c +++ b/libavfilter/avf_showcqt.c @@ -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) { |