Skip to content
Snippets Groups Projects
Commit e44ada12 authored by Anton Khirnov's avatar Anton Khirnov
Browse files

lavf doxy: improve AVStream.time_base doxy.

Remove confusing sentence that implied the user should set the timebase.
Elaborate on how the timebase is set for muxing.
parent f58b8cc3
No related branches found
No related tags found
No related merge requests found
...@@ -629,10 +629,12 @@ typedef struct AVStream { ...@@ -629,10 +629,12 @@ typedef struct AVStream {
/** /**
* This is the fundamental unit of time (in seconds) in terms * This is the fundamental unit of time (in seconds) in terms
* of which frame timestamps are represented. For fixed-fps content, * of which frame timestamps are represented.
* time base should be 1/framerate and timestamp increments should be 1. *
* decoding: set by libavformat * decoding: set by libavformat
* encoding: set by libavformat in av_write_header * encoding: set by libavformat in av_write_header. The muxer may use the
* user-provided value of @ref AVCodecContext.time_base "codec->time_base"
* as a hint.
*/ */
AVRational time_base; AVRational time_base;
......
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