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 <mich...@niedermayer.cc>
---
 libavformat/avformat.h |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 3eeeb9a..f66c39b 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1305,6 +1305,12 @@ typedef struct AVFormatInternal AVFormatInternal;
  * version bump.
  * sizeof(AVFormatContext) must not be used outside libav*, use
  * avformat_alloc_context() to create an AVFormatContext.
+ *
+ * Fields can be accessed through AVOptions (av_opt*),
+ * the name string used matches the associated command line parameter name and
+ * can be found in libavformat/options_table.h.
+ * The AVOption/command line parameter names differ in some cases from the C
+ * structure field names for historic reasons or brevity.
  */
 typedef struct AVFormatContext {
     /**
-- 
1.7.9.5

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to