This will simplify the propagation of side data to decoders and from encoders. Global side data will now reside in the AVCodecContext, thus be available during init(), removing the need to propagate it inside packets. Global and frame specific side data will therefore be distinct.
Showing the changes to doc/APIchanges (1 of 4 files). Show all
Unified · Split
| @@ -2,6 +2,11 @@ The last version increases of all libraries were on 2023-02-09 · 1 unmodified line | |||
| 2 | 2 | ||
| 3 | API changes, most recent first: | 3 | API changes, most recent first: |
| 4 | 4 | ||
| 5 | 2023-10-06 - xxxxxxxxxx - lavc 60.30.100 - codec_par.h | ||
| 6 | Added {nb_,}coded_side_data to AVCodecParameters. | ||
| 7 | The AVCodecParameters helpers will copy it to and from its AVCodecContext | ||
| 8 | namesake. | ||
| 9 | |||
| 5 | 2023-10-06 - xxxxxxxxxx - lavc 60.29.100 - packet.h | 10 | 2023-10-06 - xxxxxxxxxx - lavc 60.29.100 - packet.h |
| 6 | Added av_packet_side_data_new(), av_packet_side_data_add(), | 11 | Added av_packet_side_data_new(), av_packet_side_data_add(), |
| 7 | av_packet_side_data_get(), av_packet_side_data_remove, and | 12 | av_packet_side_data_get(), av_packet_side_data_remove, and |