Browse Source

vc2enc: decrease default strictness level

Given how incredibly limited the official specifications are (limiting all use
to only the most common broadcasting formats), permit all supported inputs
by default. This makes the encoder more useful.
tags/n3.4
Rostislav Pehlivanov 8 years ago
parent
commit
b52b398c30
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libavcodec/vc2enc.c

+ 3
- 3
libavcodec/vc2enc.c View File

@@ -1124,12 +1124,12 @@ static av_cold int vc2_encode_init(AVCodecContext *avctx)
}

if (s->base_vf <= 0) {
if (avctx->strict_std_compliance <= FF_COMPLIANCE_UNOFFICIAL) {
if (avctx->strict_std_compliance < FF_COMPLIANCE_STRICT) {
s->strict_compliance = s->base_vf = 0;
av_log(avctx, AV_LOG_WARNING, "Disabling strict compliance\n");
av_log(avctx, AV_LOG_WARNING, "Format does not strictly comply with VC2 specs\n");
} else {
av_log(avctx, AV_LOG_WARNING, "Given format does not strictly comply with "
"the specifications, please add a -strict -1 flag to use it\n");
"the specifications, decrease strictness to use it.\n");
return AVERROR_UNKNOWN;
}
} else {


Loading…
Cancel
Save