]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - libavcodec/avcodec.h
Add pts field to AVSubtitle, for use by future XSUB encoder (and XSUB decoder
[frescor/ffmpeg.git] / libavcodec / avcodec.h
index 7f26711f6006af328afb6dbc45b41565b1e9e2e5..1786b138b06a83b501474fe4cd1f24397da21a08 100644 (file)
@@ -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 @@ typedef struct AVSubtitle {
     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 */