Commit 967923ab authored by Anton Khirnov's avatar Anton Khirnov

lavf doxy: expand AVStream.codec doxy.

parent e44ada12
......@@ -610,7 +610,18 @@ typedef struct AVStream {
* encoding: set by the user
*/
int id;
AVCodecContext *codec; /**< codec context */
/**
* Codec context associated with this stream. Allocated and freed by
* libavformat.
*
* - decoding: The demuxer exports codec information stored in the headers
* here.
* - encoding: The user sets codec information, the muxer writes it to the
* output. Mandatory fields as specified in AVCodecContext
* documentation must be set even if this AVCodecContext is
* not actually used for encoding.
*/
AVCodecContext *codec;
/**
* Real base framerate of the stream.
* This is the lowest framerate with which all timestamps can be
......
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