aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2023-08-26 02:34:06 +0200
committerStefano Sabatini <stefasab@gmail.com>2023-10-06 09:49:47 +0200
commit6f421d9d4eb8425ce2ecb1f7f18b79ede3c60de9 (patch)
tree7303dd42e93d9fc27b083fcda5934b0b22091d2a /libavcodec/avcodec.h
parentf7ac3512f5b5cb8eb149f37300b43461d8e93af3 (diff)
downloadffmpeg-6f421d9d4eb8425ce2ecb1f7f18b79ede3c60de9.tar.gz
lavc: clarify meaning of avctx.level option
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 09400b97b0..3916f66980 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1730,8 +1730,10 @@ typedef struct AVCodecContext {
#endif
/**
- * level
- * - encoding: Set by user.
+ * Encoding level descriptor.
+ * - encoding: Set by user, corresponds to a specific level defined by the
+ * codec, usually corresponding to the profile level, if not specified it
+ * is set to FF_LEVEL_UNKNOWN.
* - decoding: Set by libavcodec.
* See AV_LEVEL_* in defs.h.
*/