summaryrefslogtreecommitdiff
path: root/libavcodec/yuv4enc.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2020-05-21 12:20:11 -0300
committerJames Almer <jamrial@gmail.com>2020-05-21 12:32:15 -0300
commit13b1bbff0be1eeb9471bd5eb9911da15f4b4ac50 (patch)
tree152a297b607546016227b25071d02a84b79eec84 /libavcodec/yuv4enc.c
parentcbb1760afab867bf269e4c4f5b7bb63b8c58abc7 (diff)
downloadffmpeg-13b1bbff0be1eeb9471bd5eb9911da15f4b4ac50.tar.gz
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/yuv4enc.c')
-rw-r--r--libavcodec/yuv4enc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/yuv4enc.c b/libavcodec/yuv4enc.c
index cc8846d7e5..f21b1f36ce 100644
--- a/libavcodec/yuv4enc.c
+++ b/libavcodec/yuv4enc.c
@@ -76,5 +76,4 @@ AVCodec ff_yuv4_encoder = {
.encode2 = yuv4_encode_frame,
.close = yuv4_encode_close,
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE },
- .capabilities = AV_CODEC_CAP_INTRA_ONLY,
};