summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2017-06-15 18:30:08 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-06-15 18:30:08 +0100
commitb52b398c30a729dda38c0dd5a0cdeef160c4ca54 (patch)
tree532facc28ca8ed0496273938096353a31139a061 /libavcodec
parent752dd1952a7b68094f8b2d5da0ca0df94190cf0e (diff)
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.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vc2enc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/vc2enc.c b/libavcodec/vc2enc.c
index eda390163f..96e27d93ed 100644
--- a/libavcodec/vc2enc.c
+++ b/libavcodec/vc2enc.c
@@ -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 {