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.
Showing the changes to doc/APIchanges (1 of 9 files). Show all
Unified · Split
| @@ -13,6 +13,10 @@ libavutil: 2015-08-28 · 12 unmodified lines | ||
| 13 | 13 | |
| 14 | 14 | API changes, most recent first: |
| 15 | 15 | |
| 16 | +2016-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 | + | |
| 16 | 20 | 2016-xx-xx - xxxxxxx - lavu 55.16.0 - hwcontext.h hwcontext_qsv.h |
| 17 | 21 | Add AV_HWDEVICE_TYPE_QSV and a new installed header with QSV-specific |
| 18 | 22 | hwcontext definitions. |