mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-06 07:10:21 +00:00
ffv1enc: favor version 3 over 2 unless -strict -2 is set
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
1c1a2d1319
commit
7f138310fb
@ -647,7 +647,7 @@ static av_cold int encode_init(AVCodecContext *avctx)
|
||||
if ((avctx->flags & (CODEC_FLAG_PASS1|CODEC_FLAG_PASS2)) || avctx->slices>1)
|
||||
s->version = FFMAX(s->version, 2);
|
||||
|
||||
if (avctx->level == 3) {
|
||||
if (avctx->level == 3 || (s->version==2 && avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL)) {
|
||||
s->version = 3;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user