The only duration field currently present in AVFrame is pkt_duration, which is semantically restricted to those frames that are output by decoders. Add a new field that stores the frame's duration without regard for how that frame was produced. Deprecate pkt_duration.
Showing the changes to doc/APIchanges (1 of 4 files). Show all
Unified · Split
| @@ -14,6 +14,9 @@ libavutil: 2021-04-27 · 13 unmodified lines | |||
| 14 | 14 | ||
| 15 | API changes, most recent first: | 15 | API changes, most recent first: |
| 16 | 16 | ||
| 17 | 2022-07-xx - xxxxxxxxxx - lavu 57.30.100 - frame.h | ||
| 18 | Add AVFrame.duration, deprecate AVFrame.pkt_duration. | ||
| 19 | |||
| 17 | -------- 8< --------- FFmpeg 5.1 was cut here -------- 8< --------- | 20 | -------- 8< --------- FFmpeg 5.1 was cut here -------- 8< --------- |
| 18 | 21 | ||
| 19 | 2022-06-12 - 7cae3d8b76 - lavf 59.25.100 - avio.h | 22 | 2022-06-12 - 7cae3d8b76 - lavf 59.25.100 - avio.h |