summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.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:31 +0200
commite051d09c58c6f51fea0ce0dab32fe92f58211ac0 (patch)
tree9f29ea71880e905dfdcc132ca5bda5895069a728 /libavcodec/avcodec.h
parentf22f873ef013098d61d1e9fc311f5a373fb4f933 (diff)
downloadffmpeg-e051d09c58c6f51fea0ce0dab32fe92f58211ac0.tar.gz
avcodec: 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 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index fd565849fa..15bd3ae030 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3079,6 +3079,17 @@ typedef struct AVCodecContext {
* - decoding: unused.
*/
uint16_t *chroma_intra_matrix;
+
+ /**
+ * dump format seperator.
+ * can be ", " or "\n " or anything else
+ * Code outside libavcodec should access this field using AVOptions
+ * (NO direct access).
+ * - encoding: Set by user.
+ * - decoding: Set by user.
+ */
+ uint8_t *dump_separator;
+
} AVCodecContext;
AVRational av_codec_get_pkt_timebase (const AVCodecContext *avctx);