Clippy issues
This commit is contained in:
2 files changed
+5
-3
No files matched your search
@@ -1699,18 +1699,17 @@ fn test_deviceinfo_partial_deser() {
|
||||
"#
|
||||
);
|
||||
|
||||
// Needs to ignore all the other crap that we don't care about
|
||||
let b = BcXml::try_parse(sample.as_bytes()).unwrap();
|
||||
match b {
|
||||
BcXml {
|
||||
device_info:
|
||||
Some(DeviceInfo {
|
||||
resolution:
|
||||
Resolution {
|
||||
Some(Resolution {
|
||||
width: 3840,
|
||||
height: 2160,
|
||||
..
|
||||
},
|
||||
}),
|
||||
..
|
||||
}),
|
||||
..
|
||||
|
||||
@@ -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!(
|
||||
|
||||
Reference in new issue
Block a user