summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-02-20 16:01:52 -0300
committerJames Almer <jamrial@gmail.com>2021-03-12 19:49:08 -0300
commit6e7e3a3820f0888ff92d6be44f40ff733bcce874 (patch)
treef057b934848eeb52d019213018b4fedaeafd61f6 /doc
parent2c96e6cb955af3062e78c5b0f9fb907cfb2e59e3 (diff)
avcodec: add a get_encode_buffer() callback to AVCodecContext
This callback is functionally the same as get_buffer2() is for decoders, and implements for the new encode API the functionality of the old encode API had where the user could provide their own buffers. Reviewed-by: Lynne <dev@lynne.ee> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/APIchanges7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/APIchanges b/doc/APIchanges
index 13350c0db0..3096c019c6 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -15,6 +15,13 @@ libavutil: 2017-10-21
API changes, most recent first:
+2021-03-12 - xxxxxxxxxx - lavc 58.131.100 - avcodec.h codec.h
+ Add a get_encode_buffer callback to AVCodecContext, similar to
+ get_buffer2 but for encoders.
+ Add avcodec_default_get_encode_buffer().
+ Add AV_GET_ENCODE_BUFFER_FLAG_REF.
+ Encoders may now be flagged as AV_CODEC_CAP_DR1 capable.
+
2021-03-10 - xxxxxxxxxx - lavf 58.72.100 - avformat.h
Change AVBufferRef related AVStream function and struct size
parameter and fields type to size_t at next major bump.