audioloudnorm: Allow more than 2 channels

There's no limitation of the number of channels in the code, so allow
more in the caps too.
This commit is contained in:
Sebastian Dröge 2020-04-02 17:01:33 +03:00
parent ba7186aa6e
commit 3f05e448d7

View file

@ -1793,7 +1793,7 @@ impl ObjectSubclass for AudioLoudNorm {
&[
("format", &gst_audio::AUDIO_FORMAT_F64.to_str()),
("rate", &192_000i32),
("channels", &gst::IntRange::<i32>::new(1, 2)),
("channels", &gst::IntRange::<i32>::new(1, std::i32::MAX)),
("layout", &"interleaved"),
],
);