aboutsummaryrefslogtreecommitdiffstats
path: root/libswresample/audioconvert.h
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-11-04 18:54:01 +0100
committerClément Bœsch <ubitux@gmail.com>2011-11-04 19:40:32 +0100
commitf5cd136f2bcdb69abbd5b8335b247be41259da31 (patch)
tree14cf22ac81fd14ef0c89a2ba49cb7705fc9fbd6c /libswresample/audioconvert.h
parent682e0eaf148db9479bedb981910aea21ad1827dd (diff)
downloadffmpeg-f5cd136f2bcdb69abbd5b8335b247be41259da31.tar.gz
ffmpeg: add -map_channel option.
Based on an initial work by Baptiste Coudurier.
Diffstat (limited to 'libswresample/audioconvert.h')
-rw-r--r--libswresample/audioconvert.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libswresample/audioconvert.h b/libswresample/audioconvert.h
index e5fd4dfd80..ca98d549d9 100644
--- a/libswresample/audioconvert.h
+++ b/libswresample/audioconvert.h
@@ -42,11 +42,14 @@ typedef struct AVAudioConvert AVAudioConvert;
* @param in_fmt Input sample format
* @param channels Number of channels
* @param flags See AV_CPU_FLAG_xx
+ * @param ch_map list of the channels id to pick from the source stream, NULL
+ * if all channels must be selected
* @return NULL on error
*/
AVAudioConvert *swr_audio_convert_alloc(enum AVSampleFormat out_fmt,
enum AVSampleFormat in_fmt,
- int channels, int flags);
+ int channels, const int *ch_map,
+ int flags);
/**
* Free audio sample format converter context.