]> git.sesse.net Git - ffmpeg/commit
lavc: export the timestamps when decoding in AVFrame.pts
authorAnton Khirnov <anton@khirnov.net>
Sat, 19 Mar 2016 20:45:24 +0000 (21:45 +0100)
committerAnton Khirnov <anton@khirnov.net>
Tue, 21 Jun 2016 17:54:42 +0000 (19:54 +0200)
commit32c8359093d1ff4f45ed19518b449b3ac3769d27
tree59886a4e26a0931902e6f6bb14a0319d111a7383
parentac7bfd69678f3966e38debdb27f4bde94dc0345c
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.
doc/APIchanges
libavcodec/libschroedingerdec.c
libavcodec/mmaldec.c
libavcodec/qsvdec.c
libavcodec/utils.c
libavcodec/version.h
libavutil/frame.c
libavutil/frame.h
libavutil/version.h