summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-10-08 23:48:32 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-10-09 00:56:58 +0200
commitf0a6874de85fab8a9c5cb7749392f83b2aada22b (patch)
treed48ceacf340e3b81f3e96139a60fb4c5224ae0ba /libavformat/avformat.h
parente051d09c58c6f51fea0ce0dab32fe92f58211ac0 (diff)
avformat: Allow choosing the dump format field separator.
The default is to maintain the previous ", " for now. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 9c545c08d0..52b9dcc1d9 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1713,6 +1713,16 @@ typedef struct AVFormatContext {
* via AVOptions (NO direct access).
*/
int64_t probesize2;
+
+ /**
+ * dump format seperator.
+ * can be ", " or "\n " or anything else
+ * Code outside libavformat should access this field using AVOptions
+ * (NO direct access).
+ * - muxing: Set by user.
+ * - demuxing: Set by user.
+ */
+ uint8_t *dump_separator;
} AVFormatContext;
int av_format_get_probe_score(const AVFormatContext *s);