mirror of https://git.ffmpeg.org/ffmpeg.git
lavf: fix aspect ratio mismatch message.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
c22e2ec9d1
commit
e3cc617263
|
@ -2783,8 +2783,8 @@ int avformat_write_header(AVFormatContext *s, AVDictionary **options)
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
if(av_cmp_q(st->sample_aspect_ratio, st->codec->sample_aspect_ratio)){
|
if(av_cmp_q(st->sample_aspect_ratio, st->codec->sample_aspect_ratio)){
|
||||||
av_log(s, AV_LOG_ERROR, "Aspect ratio mismatch between encoder "
|
av_log(s, AV_LOG_ERROR, "Aspect ratio mismatch between muxer "
|
||||||
"(%d/%d) and muxer layer (%d/%d)\n",
|
"(%d/%d) and encoder layer (%d/%d)\n",
|
||||||
st->sample_aspect_ratio.num, st->sample_aspect_ratio.den,
|
st->sample_aspect_ratio.num, st->sample_aspect_ratio.den,
|
||||||
st->codec->sample_aspect_ratio.num,
|
st->codec->sample_aspect_ratio.num,
|
||||||
st->codec->sample_aspect_ratio.den);
|
st->codec->sample_aspect_ratio.den);
|
||||||
|
|
Loading…
Reference in New Issue