You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavc: Improve documentation for rc_max_rate and bit_rate.
Both may be set by user (libavformat) on decoding.
This commit is contained in:
committed by
Michael Niedermayer
parent
5c583b1419
commit
d8d2f934bd
@@ -1311,7 +1311,8 @@ typedef struct AVCodecContext {
|
||||
/**
|
||||
* the average bitrate
|
||||
* - 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;
|
||||
|
||||
@@ -2349,7 +2350,7 @@ typedef struct AVCodecContext {
|
||||
/**
|
||||
* maximum bitrate
|
||||
* - encoding: Set by user.
|
||||
* - decoding: Set by libavcodec.
|
||||
* - decoding: Set by user, may be overwritten by libavcodec.
|
||||
*/
|
||||
int rc_max_rate;
|
||||
|
||||
|
Reference in New Issue
Block a user