Skip to content
Snippets Groups Projects
Commit 6d96a9b9 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

elaborate a little on AVStream.start_time, it seems the comment is not clear

enough, not that the clearer NEVER comment in AVFormatContext.start_time stoped
people from posting stupid patches

Originally committed as revision 10122 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent c8f9ef61
No related branches found
No related tags found
No related merge requests found
...@@ -308,7 +308,13 @@ typedef struct AVStream { ...@@ -308,7 +308,13 @@ typedef struct AVStream {
/** quality, as it has been removed from AVCodecContext and put in AVVideoFrame /** quality, as it has been removed from AVCodecContext and put in AVVideoFrame
* MN: dunno if that is the right place for it */ * MN: dunno if that is the right place for it */
float quality; float quality;
/** decoding: pts of the first frame of the stream, in stream time base. */ /**
* decoding: pts of the first frame of the stream, in stream time base.
* only set this if you are absolutely 100% sure that the value you set
* it to really is the pts of the first frame
* @note the ASF header does NOT contain a correct start_time the ASF
* demuxer must NOT set this
*/
int64_t start_time; int64_t start_time;
/** decoding: duration of the stream, in stream time base. */ /** decoding: duration of the stream, in stream time base. */
int64_t duration; int64_t duration;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment