diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2012-07-26 16:35:12 -0700 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-07-29 07:58:00 +0200 |
commit | 681ed0009905a088aae2a5caf2308d89aaa80562 (patch) | |
tree | e782d35012e726cd30a9cf09902ec92c1e477cfb /libavformat/avformat.h | |
parent | d905c6440637fafca56c4cd17cbe041f2aaae9ff (diff) | |
download | ffmpeg-681ed0009905a088aae2a5caf2308d89aaa80562.tar.gz |
avf: introduce nobuffer option
Useful in cases where a significant analyzeduration is
still needed, while minimizing buffering before output.
An example is processing low-latency streams where all
media types won't necessarily come in if the
analyzeduration is small.
Additional changes by Josh Allmann <joshua.allmann@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index e292206c60..7c97ada2c8 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -887,6 +887,7 @@ typedef struct AVFormatContext { #define AVFMT_FLAG_IGNDTS 0x0008 ///< Ignore DTS on frames that contain both DTS & PTS #define AVFMT_FLAG_NOFILLIN 0x0010 ///< Do not infer any values from other values, just return what is stored in the container #define AVFMT_FLAG_NOPARSE 0x0020 ///< Do not use AVParsers, you also must set AVFMT_FLAG_NOFILLIN as the fillin code works on frames and no parsing -> no frames. Also seeking to frames can not work if parsing to find frame boundaries has been disabled +#define AVFMT_FLAG_NOBUFFER 0x0040 ///< Do not buffer frames when possible #define AVFMT_FLAG_CUSTOM_IO 0x0080 ///< The caller has supplied a custom AVIOContext, don't avio_close() it. #define AVFMT_FLAG_DISCARD_CORRUPT 0x0100 ///< Discard frames marked corrupted |