History

lavf: deprecate av_stream_get_end_pts()

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.

Anton Khirnov committed 4 years ago

Commit 14726571 parent 627543f4 files · +9 −0Browse files

Showing the changes to doc/APIchanges (1 of 4 files). Show all

Unified · Split

doc/APIchanges+3−0
@@ -14,6 +14,9 @@ libavutil: 2021-04-27 · 13 unmodified lines
14 14
15API changes, most recent first:15API changes, most recent first:
16 16
172022-08-xx - xxxxxxxxxx - lavf 59 - avformat.h
18 Deprecate av_stream_get_end_pts() without replacement.
19
172022-08-19 - 352799dca8 - lavc 59.42.102 - codec_id.h202022-08-19 - 352799dca8 - lavc 59.42.102 - codec_id.h
18 Deprecate AV_CODEC_ID_AYUV and ayuv decoder/encoder. The rawvideo codec21 Deprecate AV_CODEC_ID_AYUV and ayuv decoder/encoder. The rawvideo codec
19 and vuya pixel format combination will be used instead from now on.22 and vuya pixel format combination will be used instead from now on.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t