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.
Showing
- doc/APIchanges 4 additions, 0 deletionsdoc/APIchanges
- libavcodec/libschroedingerdec.c 6 additions, 1 deletionlibavcodec/libschroedingerdec.c
- libavcodec/mmaldec.c 6 additions, 1 deletionlibavcodec/mmaldec.c
- libavcodec/qsvdec.c 6 additions, 1 deletionlibavcodec/qsvdec.c
- libavcodec/utils.c 10 additions, 0 deletionslibavcodec/utils.c
- libavcodec/version.h 1 addition, 1 deletionlibavcodec/version.h
- libavutil/frame.c 4 additions, 0 deletionslibavutil/frame.c
- libavutil/frame.h 4 additions, 0 deletionslibavutil/frame.h
- libavutil/version.h 3 additions, 0 deletionslibavutil/version.h
Loading
Please register or sign in to comment