History

lavc: export the timestamps when decoding in AVFrame.pts

Currently it's exported as AVFrame.pkt_pts, which is also the only use for that field. The reason it is done like this is that lavc used to export various codec-specific "timing" information in AVFrame.pts, which is not done anymore. Since it is confusing to the callers to have a separate field which is used only for decoder timestamps and nothing else, deprecate pkt_pts and use just AVFrame.pts everywhere.

Anton Khirnov committed 10 years ago

Commit 32c83591 parent ac7bfd69 files · +44 −4Browse files

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

Unified · Split

doc/APIchanges+4−0
@@ -13,6 +13,10 @@ libavutil: 2015-08-28 · 12 unmodified lines
13 13
14API changes, most recent first:14API changes, most recent first:
15 15
162016-xx-xx - xxxxxxx - lavc 57.24.0 - avcodec.h
17 Decoders now export the frame timestamp as AVFrame.pts. It was
18 previously exported as AVFrame.pkt_pts, which is now deprecated.
19
162016-xx-xx - xxxxxxx - lavu 55.16.0 - hwcontext.h hwcontext_qsv.h202016-xx-xx - xxxxxxx - lavu 55.16.0 - hwcontext.h hwcontext_qsv.h
17 Add AV_HWDEVICE_TYPE_QSV and a new installed header with QSV-specific21 Add AV_HWDEVICE_TYPE_QSV and a new installed header with QSV-specific
18 hwcontext definitions.22 hwcontext definitions.

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