Browse Source

libavformat: Document who sets the AVStream.id field

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n0.11
Martin Storsjö 13 years ago
parent
commit
e20ad71ebb
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      libavformat/avformat.h

+ 6
- 1
libavformat/avformat.h View File

@@ -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.


Loading…
Cancel
Save