diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-10-07 12:55:50 +0200 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-10-07 13:03:36 +0200 |
commit | 3f9137c57d2344d7613f134128235c18edcede95 (patch) | |
tree | cc4bfcc63bd6080c74d5cb526f286a1f4c96d4df /libavutil/frame.h | |
parent | 04a3577263782cd6d70722d4ae18d75fee03dbc4 (diff) | |
parent | 32c8359093d1ff4f45ed19518b449b3ac3769d27 (diff) | |
download | ffmpeg-3f9137c57d2344d7613f134128235c18edcede95.tar.gz |
Merge commit '32c8359093d1ff4f45ed19518b449b3ac3769d27'
* commit '32c8359093d1ff4f45ed19518b449b3ac3769d27':
lavc: export the timestamps when decoding in AVFrame.pts
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavutil/frame.h')
-rw-r--r-- | libavutil/frame.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/frame.h b/libavutil/frame.h index 1e2691e663..a19da2f489 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -267,10 +267,14 @@ typedef struct AVFrame { */ int64_t pts; +#if FF_API_PKT_PTS /** * PTS copied from the AVPacket that was decoded to produce this frame. + * @deprecated use the pts field instead */ + attribute_deprecated int64_t pkt_pts; +#endif /** * DTS copied from the AVPacket that triggered returning this frame. (if frame threading isn't used) |