diff options
author | Martin Storsjö <martin@martin.st> | 2010-03-15 14:20:07 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-03-15 14:20:07 +0000 |
commit | c07c6f8183e61e81f09820ef105a7d521aa41f40 (patch) | |
tree | 94957efb7276488a53397652ef7db48239cf61cd /libavformat/rtsp.h | |
parent | 4a287145c2838aaef61c927fd5311fff643845ef (diff) | |
download | ffmpeg-c07c6f8183e61e81f09820ef105a7d521aa41f40.tar.gz |
RTSP: Synchronize the start time of the chained RTP muxers
This makes sure that the streams get correctly synchronized when viewed,
previously the streams were out of sync by as much time as it took
between the initialization of the individual muxers.
Originally committed as revision 22545 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r-- | libavformat/rtsp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h index 01caf39bf9..a322281282 100644 --- a/libavformat/rtsp.h +++ b/libavformat/rtsp.h @@ -271,6 +271,9 @@ typedef struct RTSPState { * for all subsequent RTSP requests, rather than the input URI; in * other cases, this is a copy of AVFormatContext->filename. */ char control_uri[1024]; + + /** The synchronized start time of the output streams. */ + int64_t start_time; } RTSPState; /** |