# HG changeset patch # User reimar # Date 1245400087 0 # Node ID 876dc7d26ec1b92862cdb1b31bfeccd5983ea3d2 # Parent 498ceea9001783011a6cbe9b01d0bf2884fe4c17 Add pts field to AVSubtitle, for use by future XSUB encoder (and XSUB decoder should use it, too). diff -r 498ceea90017 -r 876dc7d26ec1 avcodec.h --- a/avcodec.h Thu Jun 18 18:14:38 2009 +0000 +++ b/avcodec.h Fri Jun 19 08:28:07 2009 +0000 @@ -30,8 +30,8 @@ #include "libavutil/avutil.h" #define LIBAVCODEC_VERSION_MAJOR 52 -#define LIBAVCODEC_VERSION_MINOR 31 -#define LIBAVCODEC_VERSION_MICRO 2 +#define LIBAVCODEC_VERSION_MINOR 32 +#define LIBAVCODEC_VERSION_MICRO 0 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ LIBAVCODEC_VERSION_MINOR, \ @@ -2734,6 +2734,7 @@ uint32_t end_display_time; /* relative to packet pts, in ms */ unsigned num_rects; AVSubtitleRect **rects; + int64_t pts; ///< Same as packet pts, in AV_TIME_BASE } AVSubtitle; /* packet functions */