Clippy issues

This commit is contained in:
QuantumEntangledAndy committed 2024-07-31 13:13:34 +07:00
1 parent 813eb25343
commit f8bb04fb8b
2 files changed
+5 -3

No files matched your search

+3
View File
@@ -471,11 +471,14 @@ fn pipe_silence(bin: &Element, stream_config: &StreamConfig) -> Result<Linked> {
})
}
#[allow(dead_code)]
struct AppSrcPair {
vid: AppSrc,
aud: Option<AppSrc>,
}
#[allow(dead_code)]
/// Experimental build a stream of MPEGTS
fn build_mpegts(bin: &Element, stream_config: &StreamConfig) -> Result<AppSrcPair> {
let buffer_size = buffer_size(stream_config.bitrate);
log::debug!(