diff options
author | Martin Storsjö <martin@martin.st> | 2010-03-15 10:29:37 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-03-15 10:29:37 +0000 |
commit | b8819c85b5a1dea4a13e0bfb51e21157b992d1db (patch) | |
tree | 3c6f6cd70f890fb051e6e8c6f8e53b1ad8695ffb | |
parent | 63100f5885e0ef7591643b1e01c79b79e254efda (diff) | |
download | ffmpeg-b8819c85b5a1dea4a13e0bfb51e21157b992d1db.tar.gz |
Add a new field AVFormatContext.start_time_realtime
Currently intended to be used by the RTP muxer
Originally committed as revision 22540 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/avformat.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 3059245664..0c0ce46715 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -22,7 +22,7 @@ #define AVFORMAT_AVFORMAT_H #define LIBAVFORMAT_VERSION_MAJOR 52 -#define LIBAVFORMAT_VERSION_MINOR 55 +#define LIBAVFORMAT_VERSION_MINOR 56 #define LIBAVFORMAT_VERSION_MICRO 0 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \ @@ -726,6 +726,15 @@ typedef struct AVFormatContext { */ #define RAW_PACKET_BUFFER_SIZE 2500000 int raw_packet_buffer_remaining_size; + + /** + * Start time of the stream in real world time, in microseconds + * since the unix epoch (00:00 1st January 1970). That is, pts=0 + * in the stream was captured at this real world time. + * - encoding: Set by user. + * - decoding: Unused. + */ + int64_t start_time_realtime; } AVFormatContext; typedef struct AVPacketList { |