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

Michael Niedermayer michaelni at gmx.at
Wed Feb 8 19:18:15 CET 2012


Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 ffmpeg.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index d2cbd03..959a762 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;
-- 
1.7.5.4



More information about the ffmpeg-devel mailing list