Mercurial > libavcodec.hg
comparison avcodec.h @ 9866:876dc7d26ec1 libavcodec
Add pts field to AVSubtitle, for use by future XSUB encoder (and XSUB decoder
should use it, too).
| author | reimar |
|---|---|
| date | Fri, 19 Jun 2009 08:28:07 +0000 |
| parents | 173ec947655f |
| children | 7b58b1410f48 |
comparison
equal
deleted
inserted
replaced
| 9865:498ceea90017 | 9866:876dc7d26ec1 |
|---|---|
| 28 | 28 |
| 29 #include <errno.h> | 29 #include <errno.h> |
| 30 #include "libavutil/avutil.h" | 30 #include "libavutil/avutil.h" |
| 31 | 31 |
| 32 #define LIBAVCODEC_VERSION_MAJOR 52 | 32 #define LIBAVCODEC_VERSION_MAJOR 52 |
| 33 #define LIBAVCODEC_VERSION_MINOR 31 | 33 #define LIBAVCODEC_VERSION_MINOR 32 |
| 34 #define LIBAVCODEC_VERSION_MICRO 2 | 34 #define LIBAVCODEC_VERSION_MICRO 0 |
| 35 | 35 |
| 36 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ | 36 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ |
| 37 LIBAVCODEC_VERSION_MINOR, \ | 37 LIBAVCODEC_VERSION_MINOR, \ |
| 38 LIBAVCODEC_VERSION_MICRO) | 38 LIBAVCODEC_VERSION_MICRO) |
| 39 #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \ | 39 #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \ |
| 2732 uint16_t format; /* 0 = graphics */ | 2732 uint16_t format; /* 0 = graphics */ |
| 2733 uint32_t start_display_time; /* relative to packet pts, in ms */ | 2733 uint32_t start_display_time; /* relative to packet pts, in ms */ |
| 2734 uint32_t end_display_time; /* relative to packet pts, in ms */ | 2734 uint32_t end_display_time; /* relative to packet pts, in ms */ |
| 2735 unsigned num_rects; | 2735 unsigned num_rects; |
| 2736 AVSubtitleRect **rects; | 2736 AVSubtitleRect **rects; |
| 2737 int64_t pts; ///< Same as packet pts, in AV_TIME_BASE | |
| 2737 } AVSubtitle; | 2738 } AVSubtitle; |
| 2738 | 2739 |
| 2739 /* packet functions */ | 2740 /* packet functions */ |
| 2740 | 2741 |
| 2741 /** | 2742 /** |
