diff options
author | Paul B Mahol <onemda@gmail.com> | 2017-11-12 11:40:49 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-11-12 11:40:49 +0100 |
commit | a28e70beab05a877ed277f5d93ba515b5874ffd7 (patch) | |
tree | 9d99cdb495244b5e5ad71383db87790c8fc750b2 /libavfilter/vf_lut2.c | |
parent | 79aa9d8aeee0e164a1af2087f481f69d73969c6b (diff) | |
download | ffmpeg-a28e70beab05a877ed277f5d93ba515b5874ffd7.tar.gz |
avfilter/vf_lut2: ignore SAR from all inputs
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_lut2.c')
-rw-r--r-- | libavfilter/vf_lut2.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/libavfilter/vf_lut2.c b/libavfilter/vf_lut2.c index 585d121ca3..1385cba9b1 100644 --- a/libavfilter/vf_lut2.c +++ b/libavfilter/vf_lut2.c @@ -304,20 +304,13 @@ static int lut2_config_output(AVFilterLink *outlink) av_log(ctx, AV_LOG_ERROR, "inputs must be of same pixel format\n"); return AVERROR(EINVAL); } - if (srcx->w != srcy->w || - srcx->h != srcy->h || - srcx->sample_aspect_ratio.num != srcy->sample_aspect_ratio.num || - srcx->sample_aspect_ratio.den != srcy->sample_aspect_ratio.den) { + if (srcx->w != srcy->w || srcx->h != srcy->h) { av_log(ctx, AV_LOG_ERROR, "First input link %s parameters " - "(size %dx%d, SAR %d:%d) do not match the corresponding " - "second input link %s parameters (%dx%d, SAR %d:%d)\n", + "(size %dx%d) do not match the corresponding " + "second input link %s parameters (size %dx%d)\n", ctx->input_pads[0].name, srcx->w, srcx->h, - srcx->sample_aspect_ratio.num, - srcx->sample_aspect_ratio.den, ctx->input_pads[1].name, - srcy->w, srcy->h, - srcy->sample_aspect_ratio.num, - srcy->sample_aspect_ratio.den); + srcy->w, srcy->h); return AVERROR(EINVAL); } |