aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-29 00:20:48 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-29 00:20:48 +0200
commitd858ee717bed6307b8e772bd5039ab001aeae03f (patch)
tree2e8d510d7c759cf58cb178c55409340bab048161
parentb50559fc0b2bb4c1ac85aad2e9b0122fe4ec53a3 (diff)
parent6d212599aa684f30511fb08ca30fe2378405304e (diff)
downloadffmpeg-d858ee717bed6307b8e772bd5039ab001aeae03f.tar.gz
Merge commit '6d212599aa684f30511fb08ca30fe2378405304e'
* commit '6d212599aa684f30511fb08ca30fe2378405304e': avformat: Provide a standard compliance flag Conflicts: doc/APIchanges libavformat/avformat.h libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--doc/APIchanges4
-rw-r--r--libavformat/avformat.h6
-rw-r--r--libavformat/options_table.h5
-rw-r--r--libavformat/version.h2
4 files changed, 16 insertions, 1 deletions
diff --git a/doc/APIchanges b/doc/APIchanges
index 395083c091..da369f4275 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -15,6 +15,10 @@ libavutil: 2012-10-22
API changes, most recent first:
+2014-05-24 - xxxxxxx - lavf 55.19.0 - avformat.h
+ Add strict_std_compliance and related AVOptions to support experimental
+ muxing.
+
2014-05-26 - xxxxxxx - lavu 52.87.100 - threadmessage.h
Add thread message queue API.
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 2103f50e57..01c3b75c37 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1424,6 +1424,12 @@ typedef struct AVFormatContext {
int64_t max_interleave_delta;
/**
+ * Allow non-standard and experimental extension
+ * @see AVCodecContext.strict_std_compliance
+ */
+ int strict_std_compliance;
+
+ /**
* Transport stream id.
* This will be moved into demuxer private options. Thus no API/ABI compatibility
*/
diff --git a/libavformat/options_table.h b/libavformat/options_table.h
index e9bee619c9..069edee0d6 100644
--- a/libavformat/options_table.h
+++ b/libavformat/options_table.h
@@ -89,6 +89,11 @@ static const AVOption avformat_options[] = {
{"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},
{"output_ts_offset", "set output timestamp offset", OFFSET(output_ts_offset), AV_OPT_TYPE_DURATION, {.i64 = 0}, -INT64_MAX, INT64_MAX, E},
{"max_interleave_delta", "maximum buffering duration for interleaving", OFFSET(max_interleave_delta), AV_OPT_TYPE_INT64, { .i64 = 10000000 }, 0, INT64_MAX, E },
+{"f_strict", "how strictly to follow the standards (deprecated; use strict, save via avconv)", OFFSET(strict_std_compliance), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX, D|E, "strict"},
+{"strict", "how strictly to follow the standards", OFFSET(strict_std_compliance), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX, D|E, "strict"},
+{"strict", "strictly conform to all the things in the spec no matter what the consequences", 0, AV_OPT_TYPE_CONST, {.i64 = FF_COMPLIANCE_STRICT }, INT_MIN, INT_MAX, D|E, "strict"},
+{"normal", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = FF_COMPLIANCE_NORMAL }, INT_MIN, INT_MAX, D|E, "strict"},
+{"experimental", "allow non-standardized experimental variants", 0, AV_OPT_TYPE_CONST, {.i64 = FF_COMPLIANCE_EXPERIMENTAL }, INT_MIN, INT_MAX, D|E, "strict"},
{NULL},
};
diff --git a/libavformat/version.h b/libavformat/version.h
index 84d49103cb..6f7aa7d31e 100644
--- a/libavformat/version.h
+++ b/libavformat/version.h
@@ -30,7 +30,7 @@
#include "libavutil/version.h"
#define LIBAVFORMAT_VERSION_MAJOR 55
-#define LIBAVFORMAT_VERSION_MINOR 41
+#define LIBAVFORMAT_VERSION_MINOR 42
#define LIBAVFORMAT_VERSION_MICRO 100
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \