[FFmpeg-cvslog] avcodec: Document where the AVOption names can be found for the fields of AVCodecContext

Michael Niedermayer git at videolan.org
Wed Jun 1 18:33:30 CEST 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sat May 28 16:57:14 2016 +0200| [b8426b865edd2f82a26ab7e990dd98a174b9da32] | committer: Michael Niedermayer

avcodec: Document where the AVOption names can be found for the fields of AVCodecContext

Missing docs found by: nevcairiel

RFC: should we add support so that the C field names always work as av option names/keys ?

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b8426b865edd2f82a26ab7e990dd98a174b9da32
---

 libavcodec/avcodec.h |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 339a1b2..5fcecda 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1638,6 +1638,10 @@ enum AVFieldOrder {
  * version bump.
  * Please use AVOptions (av_opt* / av_set/get*()) to access these fields from user
  * applications.
+ * The name string for AVOptions options matches the associated command line
+ * parameter name and can be found in libavcodec/options_table.h
+ * The AVOption/command line parameter names differ in some cases from the C
+ * structure field names for historic reasons or brevity.
  * sizeof(AVCodecContext) must not be used outside libav*.
  */
 typedef struct AVCodecContext {



More information about the ffmpeg-cvslog mailing list