From c5714b51aad41fef56dddac1d542e7fc6b984627 Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Sat, 4 Mar 2017 23:57:40 +0000 Subject: hwcontext: Improve allocation in derived contexts Use the flags argument of av_hwframe_ctx_create_derived() to pass the mapping flags which will be used on allocation. Also, set the format and hardware context on the allocated frame automatically - the user should not be required to do this themselves. --- doc/APIchanges | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/APIchanges b/doc/APIchanges index 34d788a..a251c4c 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -13,6 +13,10 @@ libavutil: 2017-03-23 API changes, most recent first: +2017-04-30 - xxxxxxx - lavu 56.1.1 - hwcontext.h + av_hwframe_ctx_create_derived() now takes some AV_HWFRAME_MAP_* combination + as its flags argument (which was previously unused). + 2017-04-xx - xxxxxxx - lavu 56.1.0 - spherical.h Add av_spherical_projection_name() and av_spherical_from_name(). -- cgit v1.1