Log cleanup
This commit is contained in:
2 files changed
+5
-2
No files matched your search
@@ -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
@@ -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
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user