[FFmpeg-cvslog] ffmpeg: better dox for *pts.

Michael Niedermayer git at videolan.org
Thu Feb 9 19:06:31 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Feb  8 19:17:03 2012 +0100| [677911ad8153d10056e7078f66bc1924616c2d30] | committer: Michael Niedermayer

ffmpeg: better dox for *pts.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=677911ad8153d10056e7078f66bc1924616c2d30
---

 ffmpeg.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 7365cfb..1dd4e3b 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -210,9 +210,8 @@ typedef struct InputStream {
     /* dts of the last packet read for this stream */
     int64_t       dts;
 
-    int64_t       next_pts;  /* synthetic pts for cases where pkt.pts
-                                is not defined */
-    int64_t       pts;       /* current pts */
+    int64_t       next_pts;  ///< synthetic pts for the next decode frame
+    int64_t       pts;       ///< current pts of the decoded frame
     double ts_scale;
     int is_start;            /* is 1 at the start and after a discontinuity */
     int showed_multi_packet_warning;



More information about the ffmpeg-cvslog mailing list