[FFmpeg-cvslog] lavc: Correct the description of pkt_dts

Martin Storsjö git at videolan.org
Mon Dec 24 15:38:41 CET 2012


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Sun Dec 23 17:10:04 2012 +0200| [0940580adb5e6bde8782841b3104fd0783e541f0] | committer: Martin Storsjö

lavc: Correct the description of pkt_dts

The description as updated in 6e5c44b0f made it sound like it is
handled exactly like the pts, which it is not. Clarify that it
is the packet that triggered returning the frame instead of just
the last avpacket (in case of frame threading, it won't be the
dts of the last packet).

Signed-off-by: Martin Storsjö <martin at martin.st>

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

 libavcodec/avcodec.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index a7cf110..e6b8ec6 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1095,7 +1095,7 @@ typedef struct AVFrame {
     int64_t pkt_pts;
 
     /**
-     * dts copied from the AVPacket that was decoded to produce this frame
+     * dts copied from the AVPacket that triggered returning this frame
      * - encoding: unused
      * - decoding: Read by user.
      */



More information about the ffmpeg-cvslog mailing list