diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-11-04 18:54:01 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2011-11-04 19:40:32 +0100 |
commit | f5cd136f2bcdb69abbd5b8335b247be41259da31 (patch) | |
tree | 14cf22ac81fd14ef0c89a2ba49cb7705fc9fbd6c /libswresample/swresample_internal.h | |
parent | 682e0eaf148db9479bedb981910aea21ad1827dd (diff) | |
download | ffmpeg-f5cd136f2bcdb69abbd5b8335b247be41259da31.tar.gz |
ffmpeg: add -map_channel option.
Based on an initial work by Baptiste Coudurier.
Diffstat (limited to 'libswresample/swresample_internal.h')
-rw-r--r-- | libswresample/swresample_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libswresample/swresample_internal.h b/libswresample/swresample_internal.h index 4678886bdb..4764ddfd6f 100644 --- a/libswresample/swresample_internal.h +++ b/libswresample/swresample_internal.h @@ -45,6 +45,8 @@ typedef struct SwrContext { //FIXME find unused fields int out_sample_rate; int flags; float slev, clev, rematrix_volume; + const int *channel_map; ///< channel index (or -1 if muted channel) map + int used_ch_count; ///< number of used channels (mapped channel count if channel_map, otherwise in.ch_count) //below are private int int_bps; |