diff options
author | James Almer <jamrial@gmail.com> | 2020-05-21 18:20:11 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-05-21 18:32:15 +0300 |
commit | 13b1bbff0be1eeb9471bd5eb9911da15f4b4ac50 (patch) | |
tree | 152a297b607546016227b25071d02a84b79eec84 /libavcodec/lclenc.c | |
parent | cbb1760afab867bf269e4c4f5b7bb63b8c58abc7 (diff) |
avcodec: deprecate Lossless and Intra Only encoder capabilites
Both are codec properties and not encoder capabilities. The relevant
AVCodecDescriptor.props flags exist for this purpose.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/lclenc.c')
-rw-r--r-- | libavcodec/lclenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/lclenc.c b/libavcodec/lclenc.c index 357313df49..4fe52b40da 100644 --- a/libavcodec/lclenc.c +++ b/libavcodec/lclenc.c @@ -176,7 +176,7 @@ AVCodec ff_zlib_encoder = { .init = encode_init, .encode2 = encode_frame, .close = encode_end, - .capabilities = AV_CODEC_CAP_FRAME_THREADS | AV_CODEC_CAP_INTRA_ONLY, + .capabilities = AV_CODEC_CAP_FRAME_THREADS, .pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_BGR24, AV_PIX_FMT_NONE }, .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP, |