libavformat: Document who sets the AVStream.id field
authorMartin Storsjö <martin@martin.st>
Thu, 22 Mar 2012 15:05:08 +0000 (17:05 +0200)
committerMartin Storsjö <martin@martin.st>
Sat, 24 Mar 2012 20:17:37 +0000 (22:17 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/avformat.h

index 073ca67..2bf03e1 100644 (file)
@@ -547,7 +547,12 @@ typedef struct AVIndexEntry {
  */
 typedef struct AVStream {
     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 */
     /**
      * Real base framerate of the stream.