Commit 26e4f0c7 authored by Derek Buitenhuis's avatar Derek Buitenhuis

doxy: Clarify what avpriv_set_pts_info does

The "pts for a given stream" was nonsensical.
Signed-off-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parent c35f0e84
...@@ -293,14 +293,16 @@ int64_t ff_gen_search(AVFormatContext *s, int stream_index, ...@@ -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 )); 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 * Set the time base and wrapping info for a given stream. This will be used
* (<= 0), it leaves the AVStream unchanged. * 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 s stream
* @param pts_wrap_bits number of bits effectively used by the pts * @param pts_wrap_bits number of bits effectively used by the pts
* (used for wrap control, 33 is the value for MPEG) * (used for wrap control)
* @param pts_num numerator to convert to seconds (MPEG: 1) * @param pts_num time base numerator
* @param pts_den denominator to convert to seconds (MPEG: 90000) * @param pts_den time base denominator
*/ */
void avpriv_set_pts_info(AVStream *s, int pts_wrap_bits, void avpriv_set_pts_info(AVStream *s, int pts_wrap_bits,
unsigned int pts_num, unsigned int pts_den); unsigned int pts_num, unsigned int pts_den);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment