diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-07-30 16:00:05 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-11-13 12:15:27 +0100 |
commit | 794566520018d65ae0678b3928fe78d5ed7a8004 (patch) | |
tree | 0879db4474c575f029c6f92f4cb9136aaf1888d5 /libavfilter/avfilter.h | |
parent | 9d2a7c04812ae6f3db2e58570242a15ff25a335a (diff) | |
download | ffmpeg-794566520018d65ae0678b3928fe78d5ed7a8004.tar.gz |
lavfi: store and propagate number of channels information in audio buffer properties
The channels field is required since the channel layout is not always
available.
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index ea8464e401..650ba095c8 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -117,6 +117,7 @@ typedef struct AVFilterBufferRefAudioProps { uint64_t channel_layout; ///< channel layout of audio buffer int nb_samples; ///< number of audio samples per channel int sample_rate; ///< audio buffer sample rate + int channels; ///< number of channels } AVFilterBufferRefAudioProps; /** |