aboutsummaryrefslogtreecommitdiffstats
path: root/nihav-commonfmt/src/muxers/wav.rs
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2020-05-30 11:51:38 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2020-05-30 11:51:38 +0200
commitf0081142878786d1a07c61e4df2d2a318609b478 (patch)
tree0a238dafb729f8fa250e8e5dfcae381c0d7794a4 /nihav-commonfmt/src/muxers/wav.rs
parent575c0b27ffcb7440620222e6e78c9ecb4006cf99 (diff)
downloadnihav-f0081142878786d1a07c61e4df2d2a318609b478.tar.gz
make muxers report their capabilities
Diffstat (limited to 'nihav-commonfmt/src/muxers/wav.rs')
-rw-r--r--nihav-commonfmt/src/muxers/wav.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/nihav-commonfmt/src/muxers/wav.rs b/nihav-commonfmt/src/muxers/wav.rs
index 163a977..a11bb2a 100644
--- a/nihav-commonfmt/src/muxers/wav.rs
+++ b/nihav-commonfmt/src/muxers/wav.rs
@@ -105,6 +105,7 @@ impl MuxerCreator for WAVMuxerCreator {
Box::new(WAVMuxer::new(bw))
}
fn get_name(&self) -> &'static str { "wav" }
+ fn get_capabilities(&self) -> MuxerCapabilities { MuxerCapabilities::SingleAudio("any") }
}
#[cfg(test)]