According to its documentation it returns "pts of the last muxed packet + its duration", but the value it actually returns right now is (possibly guessed) dts after muxer-internal bitstream filtering (if any). This function was added for ffmpeg.c, but it is not used there anymore. Since the value it returns is ill-defined and so inappropriate for any serious use, deprecate it.
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 | 15 | API changes, most recent first: |
| 16 | 16 | |
| 17 | +2022-08-xx - xxxxxxxxxx - lavf 59 - avformat.h | |
| 18 | + Deprecate av_stream_get_end_pts() without replacement. | |
| 19 | + | |
| 17 | 20 | 2022-08-19 - 352799dca8 - lavc 59.42.102 - codec_id.h |
| 18 | 21 | Deprecate AV_CODEC_ID_AYUV and ayuv decoder/encoder. The rawvideo codec |
| 19 | 22 | and vuya pixel format combination will be used instead from now on. |