aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-26 22:17:08 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-12-01 03:53:07 +0100
commit31f9032b786c1788f6295f5d3fd07622229010b1 (patch)
tree3773db832c5813fc91528905c86d47b04a62ceac /libavformat/avformat.h
parent54e40b9c14f5bc1f6362093c8cba698571847e59 (diff)
downloadffmpeg-31f9032b786c1788f6295f5d3fd07622229010b1.tar.gz
lavf: add audio_preload option, this allows interleaving audio earlier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 5151823517..156e83c668 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1078,6 +1078,13 @@ typedef struct AVFormatContext {
*/
int ts_id;
+ /**
+ * Audio preload in microseconds.
+ * Note, not all formats support this and unpredictable things may happen if it is used when not supported.
+ * - encoding: Set by user via AVOptions (NO direct access)
+ * - decoding: unused
+ */
+ int audio_preload;
/*****************************************************************
* All fields below this line are not part of the public API. They