[FFmpeg-cvslog] avutil/frame: Document avcodec_get_frame_class() and the option naming system
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:13 2016 +0200| [003a9e4854d6c88c703c6429b547544166d96eab] | committer: Michael Niedermayer
avutil/frame: Document avcodec_get_frame_class() and the option naming system
Missing docs found by: nevcairiel
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=003a9e4854d6c88c703c6429b547544166d96eab
---
libavutil/frame.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libavutil/frame.h b/libavutil/frame.h
index 2d6299b..b30aa47 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
More information about the ffmpeg-cvslog
mailing list