summaryrefslogtreecommitdiff
path: root/libswresample/swresample_internal.h
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-02-16 11:26:32 +0100
committerNicolas George <nicolas.george@normalesup.org>2012-02-20 20:46:35 +0100
commit560b224f53fd553262790216d18c64665ebf436d (patch)
tree74c87cf7cc43391b7517c001b980856a2ea95bbc /libswresample/swresample_internal.h
parent016c7bb762edded8d64f986e40b6f4cd739dd597 (diff)
libswr: allow to set custom matrices.
Diffstat (limited to 'libswresample/swresample_internal.h')
-rw-r--r--libswresample/swresample_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswresample/swresample_internal.h b/libswresample/swresample_internal.h
index 0fc1c6b6a6..f53ccd76fe 100644
--- a/libswresample/swresample_internal.h
+++ b/libswresample/swresample_internal.h
@@ -53,6 +53,7 @@ typedef struct SwrContext {
int int_bps; ///< internal bytes per sample
int resample_first; ///< 1 if resampling must come first, 0 if rematrixing
int rematrix; ///< flag to indicate if rematrixing is needed (basically if input and output layouts mismatch)
+ int rematrix_custom; ///< flag to indicate that a custom matrix has been defined
AudioData in; ///< input audio data
AudioData postin; ///< post-input audio data: used for rematrix/resample