]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/frame.h
lavc: export the timestamps when decoding in AVFrame.pts
[ffmpeg] / libavutil / frame.h
index 7c55225a45385253b7e6b5edef22bfba88caf6d7..12624d797f022c6d8755f4317bb3842b178e9cae 100644 (file)
@@ -210,10 +210,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.