Module: libav
Branch: master
Commit: 0940580adb5e6bde8782841b3104fd0783e541f0

Author:    Martin Storsjö <mar...@martin.st>
Committer: Martin Storsjö <mar...@martin.st>
Date:      Sun Dec 23 17:10:04 2012 +0200

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ö <mar...@martin.st>

---

 libavcodec/avcodec.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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.
      */

_______________________________________________
libav-commits mailing list
libav-commits@libav.org
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to