[FFmpeg-cvslog] r13265 - trunk/libavformat/avformat.h

Diego Biurrun diego
Tue May 27 14:01:42 CEST 2008


On Fri, May 23, 2008 at 07:56:45PM +0200, michael wrote:
> 
> Log:
> Document pts/dts.
> 
> --- trunk/libavformat/avformat.h	(original)
> +++ trunk/libavformat/avformat.h	Fri May 23 19:56:45 2008
> @@ -44,8 +44,23 @@
>  
> +    /**
> +     * Presentation time stamp in time_base units.
> +     * This is the time at which the decompressed packet will be presented
> +     * to the user.
> +     * Can be AV_NOPTS_VALUE if it is not stored in the file.
> +     * pts MUST be larger or equal to dts as presentation can not happen before
> +     * decompression, unless one wants to view hex dumps. Some formats misuse
> +     * the terms dts and pts/cts to mean something different, these timestamps
> +     * must be converted to true pts/dts before they are stored in AVPacket.
> +     */
> +    int64_t pts;
> +    /**
> +     * Decompression time stamp in time_base units.
> +     * This is the time at which the packet is decompressed.
> +     * Can be AV_NOPTS_VALUE if it is not stored in the file.
> +     */
> +    int64_t dts;

Excellent.  Your English appears to have improved by leaps and bounds.
At least if you want it to ;)  Thanks.

Diego




More information about the ffmpeg-cvslog mailing list