Log cleanup

This commit is contained in:
QuantumEntangledAndy committed 2024-05-02 10:56:40 +07:00
1 parent a6ebdfe713
commit 0d5fbd30f1
2 files changed
+5 -2

No files matched your search

+4 -1
View File
@@ -49,7 +49,10 @@ pub enum Error {
CameraServiceUnavailable { CameraServiceUnavailable {
/// The message ID /// The message ID
id: u32, id: u32,
// The return code this is usually 200 for OK and 400 for not yet ready and 500 for camera cannot comply or understand /// The return code this is usually
/// 200 for OK
/// 400 for not yet ready
/// 500 for camera cannot comply or understand
code: u16, code: u16,
}, },
+1 -1
View File
@@ -157,7 +157,7 @@ fn build_unknown(bin: &Element, pattern: &str) -> Result<()> {
fn build_h264(bin: &Element, stream_config: &StreamConfig) -> Result<AppSrc> { fn build_h264(bin: &Element, stream_config: &StreamConfig) -> Result<AppSrc> {
let buffer_size = buffer_size(stream_config.bitrate); let buffer_size = buffer_size(stream_config.bitrate);
log::info!( log::debug!(
"buffer_size: {buffer_size}, bitrate: {}", "buffer_size: {buffer_size}, bitrate: {}",
stream_config.bitrate stream_config.bitrate
); );