diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2012-12-16 15:29:12 -0500 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2012-12-17 11:20:00 -0500 |
commit | 26e4f0c70f781a16f4234c101ceceb640ec5ff31 (patch) | |
tree | ac4ce7ed5d94488d79995f0092fa47a3f0051a4c /libavformat/internal.h | |
parent | c35f0e8495e34c2082dcde805e9323c9f6a4cb0a (diff) | |
download | ffmpeg-26e4f0c70f781a16f4234c101ceceb640ec5ff31.tar.gz |
doxy: Clarify what avpriv_set_pts_info does
The "pts for a given stream" was nonsensical.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index ac4a5d0794..3ca2d8fb97 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -293,14 +293,16 @@ int64_t ff_gen_search(AVFormatContext *s, int stream_index, int64_t (*read_timestamp)(struct AVFormatContext *, int , int64_t *, int64_t )); /** - * Set the pts for a given stream. If the new values would be invalid - * (<= 0), it leaves the AVStream unchanged. + * Set the time base and wrapping info for a given stream. This will be used + * to interpret the stream's timestamps. If the new time base is invalid + * (numerator or denominator are non-positive), it leaves the stream + * unchanged. * * @param s stream * @param pts_wrap_bits number of bits effectively used by the pts - * (used for wrap control, 33 is the value for MPEG) - * @param pts_num numerator to convert to seconds (MPEG: 1) - * @param pts_den denominator to convert to seconds (MPEG: 90000) + * (used for wrap control) + * @param pts_num time base numerator + * @param pts_den time base denominator */ void avpriv_set_pts_info(AVStream *s, int pts_wrap_bits, unsigned int pts_num, unsigned int pts_den); |