diff options
author | James Darnley <james.darnley@gmail.com> | 2013-12-29 22:42:33 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-24 22:33:21 +0100 |
commit | 86bee7984e30cf7df6ad353be7c5153f5988e797 (patch) | |
tree | 040e64e01cf34c98fe37ec9652bddc64e2f90a34 /libavformat/options_table.h | |
parent | 1d073850538694f6341e7f09cf5f8b30839df5d7 (diff) | |
download | ffmpeg-86bee7984e30cf7df6ad353be7c5153f5988e797.tar.gz |
AVFormatContext: add metadata_header_padding field
This field is used to store the number of bytes that should be written
as padding to a metadata header of a file. For example:
- The FLAC format's METADATA_BLOCK_PADDING [1]
- The ID3v2 tag format's padding [2]
[1] http://xiph.org/flac/format.html#metadata_block_padding
[2] http://id3.org/id3v2.3.0#ID3v2_overview
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/options_table.h')
-rw-r--r-- | libavformat/options_table.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/options_table.h b/libavformat/options_table.h index 8145325c1c..32210422c9 100644 --- a/libavformat/options_table.h +++ b/libavformat/options_table.h @@ -77,6 +77,7 @@ static const AVOption avformat_options[] = { {"skip_initial_bytes", "set number of bytes to skip before reading header and frames", OFFSET(skip_initial_bytes), AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MAX-1, D}, {"correct_ts_overflow", "correct single timestamp overflows", OFFSET(correct_ts_overflow), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, D}, {"flush_packets", "enable flushing of the I/O context after each packet", OFFSET(flush_packets), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, E}, +{"metadata_header_padding", "set number of bytes to be written as padding in a metadata header", OFFSET(metadata_header_padding), AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX, E}, {NULL}, }; |