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.
Showing the changes to doc/APIchanges (1 of 5 files). Show all
Unified · Split
| @@ -13,6 +13,10 @@ libavutil: 2017-03-23 · 12 unmodified lines | |||
| 13 | 13 | ||
| 14 | API changes, most recent first: | 14 | API changes, most recent first: |
| 15 | 15 | ||
| 16 | 2017-04-30 - xxxxxxx - lavu 56.1.1 - hwcontext.h | ||
| 17 | av_hwframe_ctx_create_derived() now takes some AV_HWFRAME_MAP_* combination | ||
| 18 | as its flags argument (which was previously unused). | ||
| 19 | |||
| 16 | 2017-04-xx - xxxxxxx - lavu 56.1.0 - spherical.h | 20 | 2017-04-xx - xxxxxxx - lavu 56.1.0 - spherical.h |
| 17 | Add av_spherical_projection_name() and av_spherical_from_name(). | 21 | Add av_spherical_projection_name() and av_spherical_from_name(). |
| 18 | 22 | ||