Commit e20ad71e authored by Martin Storsjö's avatar Martin Storsjö

libavformat: Document who sets the AVStream.id field

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 72dadaa9
...@@ -547,7 +547,12 @@ typedef struct AVIndexEntry { ...@@ -547,7 +547,12 @@ typedef struct AVIndexEntry {
*/ */
typedef struct AVStream { typedef struct AVStream {
int index; /**< stream index in AVFormatContext */ int index; /**< stream index in AVFormatContext */
int id; /**< format-specific stream ID */ /**
* Format-specific stream ID.
* decoding: set by libavformat
* encoding: set by the user
*/
int id;
AVCodecContext *codec; /**< codec context */ AVCodecContext *codec; /**< codec context */
/** /**
* Real base framerate of the stream. * Real base framerate of the stream.
......
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