diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-05-01 10:03:54 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-05-14 07:47:56 +0200 |
commit | a738540366c9b114949b7914c0d08e2c28982cfb (patch) | |
tree | 345fc15b293d29a8a81677e5bb3b0d13f5db139b | |
parent | 449511740f06a4675b0066730fa45cdb764ffafc (diff) | |
download | ffmpeg-a738540366c9b114949b7914c0d08e2c28982cfb.tar.gz |
lavf: properly document the distinction between flags and ctx_flags
-rw-r--r-- | libavformat/avformat.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 02ee6ba178..1ce3eba675 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -927,7 +927,11 @@ typedef struct AVFormatContext { AVIOContext *pb; /* stream info */ - int ctx_flags; /**< Format-specific flags, see AVFMTCTX_xx */ + /** + * Flags signalling stream properties. A combination of AVFMTCTX_*. + * Set by libavformat. + */ + int ctx_flags; /** * Number of elements in AVFormatContext.streams. @@ -985,6 +989,10 @@ typedef struct AVFormatContext { unsigned int packet_size; int max_delay; + /** + * Flags modifying the (de)muxer behaviour. A combination of AVFMT_FLAG_*. + * Set by the user before avformat_open_input() / avformat_write_header(). + */ int flags; #define AVFMT_FLAG_GENPTS 0x0001 ///< Generate missing pts even if it requires parsing future frames. #define AVFMT_FLAG_IGNIDX 0x0002 ///< Ignore index. |