diff options
author | James Almer <jamrial@gmail.com> | 2017-03-25 21:35:52 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-03-25 21:37:06 -0300 |
commit | 963cd953fbf6a57d8433043f3a3b341dd85c60f0 (patch) | |
tree | 8f46d4aa9448ae3adf5c493ada2fe2c49b6bba6a | |
parent | f5c8d004c28d930d780c9164f7ed6005b88b9be5 (diff) | |
download | ffmpeg-963cd953fbf6a57d8433043f3a3b341dd85c60f0.tar.gz |
avfilter: stop using deprecated codec flags
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavfilter/vf_mcdeint.c | 2 | ||||
-rw-r--r-- | libavfilter/vf_uspp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_mcdeint.c b/libavfilter/vf_mcdeint.c index 050a8341d9..d4f718cc95 100644 --- a/libavfilter/vf_mcdeint.c +++ b/libavfilter/vf_mcdeint.c @@ -122,7 +122,7 @@ static int config_props(AVFilterLink *inlink) enc_ctx->gop_size = INT_MAX; enc_ctx->max_b_frames = 0; enc_ctx->pix_fmt = AV_PIX_FMT_YUV420P; - enc_ctx->flags = AV_CODEC_FLAG_QSCALE | CODEC_FLAG_LOW_DELAY; + enc_ctx->flags = AV_CODEC_FLAG_QSCALE | AV_CODEC_FLAG_LOW_DELAY; enc_ctx->strict_std_compliance = FF_COMPLIANCE_EXPERIMENTAL; enc_ctx->global_quality = 1; enc_ctx->me_cmp = enc_ctx->me_sub_cmp = FF_CMP_SAD; diff --git a/libavfilter/vf_uspp.c b/libavfilter/vf_uspp.c index 8a6d0fbb93..ef493b860f 100644 --- a/libavfilter/vf_uspp.c +++ b/libavfilter/vf_uspp.c @@ -357,7 +357,7 @@ static int config_input(AVFilterLink *inlink) avctx_enc->gop_size = INT_MAX; avctx_enc->max_b_frames = 0; avctx_enc->pix_fmt = inlink->format; - avctx_enc->flags = AV_CODEC_FLAG_QSCALE | CODEC_FLAG_LOW_DELAY; + avctx_enc->flags = AV_CODEC_FLAG_QSCALE | AV_CODEC_FLAG_LOW_DELAY; avctx_enc->strict_std_compliance = FF_COMPLIANCE_EXPERIMENTAL; avctx_enc->global_quality = 123; av_dict_set(&opts, "no_bitstream", "1", 0); |