From 003a9e4854d6c88c703c6429b547544166d96eab Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 28 May 2016 16:57:13 +0200 Subject: avutil/frame: Document avcodec_get_frame_class() and the option naming system Missing docs found by: nevcairiel Signed-off-by: Michael Niedermayer --- libavutil/frame.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libavutil') diff --git a/libavutil/frame.h b/libavutil/frame.h index 2d6299b20b..b30aa4792e 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -176,6 +176,10 @@ typedef struct AVFrameSideData { * Similarly fields that are marked as to be only accessed by * av_opt_ptr() can be reordered. This allows 2 forks to add fields * without breaking compatibility with each other. + * + * Fields can be accessed through AVOptions, the name string used, matches the + * C structure field name for fields accessable through AVOptions. The AVClass + * for AVFrame can be obtained from avcodec_get_frame_class() */ typedef struct AVFrame { #define AV_NUM_DATA_POINTERS 8 -- cgit v1.2.3