Commit d8d2f934 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos Committed by Michael Niedermayer

lavc: Improve documentation for rc_max_rate and bit_rate.

Both may be set by user (libavformat) on decoding.
parent 5c583b14
...@@ -1311,7 +1311,8 @@ typedef struct AVCodecContext { ...@@ -1311,7 +1311,8 @@ typedef struct AVCodecContext {
/** /**
* the average bitrate * the average bitrate
* - encoding: Set by user; unused for constant quantizer encoding. * - encoding: Set by user; unused for constant quantizer encoding.
* - decoding: Set by libavcodec. 0 or some bitrate if this info is available in the stream. * - decoding: Set by user, may be overwritten by libavcodec
* if this info is available in the stream
*/ */
int bit_rate; int bit_rate;
...@@ -2349,7 +2350,7 @@ typedef struct AVCodecContext { ...@@ -2349,7 +2350,7 @@ typedef struct AVCodecContext {
/** /**
* maximum bitrate * maximum bitrate
* - encoding: Set by user. * - encoding: Set by user.
* - decoding: Set by libavcodec. * - decoding: Set by user, may be overwritten by libavcodec.
*/ */
int rc_max_rate; int rc_max_rate;
......
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