From 1cf792539ba7cbb14178a09a131780e2738339a9 Mon Sep 17 00:00:00 2001 From: shinyquagsire23 Date: Sun, 5 Jan 2025 13:34:29 -0700 Subject: [PATCH] Fix CI --- alvr/packets/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alvr/packets/src/lib.rs b/alvr/packets/src/lib.rs index e128fd1dc1..1c74973488 100644 --- a/alvr/packets/src/lib.rs +++ b/alvr/packets/src/lib.rs @@ -175,7 +175,7 @@ pub fn decode_stream_config(packet: &StreamConfigPacket) -> Result let use_multimodal_protocol = json::from_value(negotiated_json["use_multimodal_protocol"].clone()).unwrap_or(false); let use_full_range = json::from_value(negotiated_json["use_full_range"].clone()) - .unwrap_or_else(|_| settings.video.encoder_config.use_full_range); + .unwrap_or(settings.video.encoder_config.use_full_range); let encoding_gamma = json::from_value(negotiated_json["encoding_gamma"].clone()).unwrap_or(1.0); let enable_hdr = json::from_value(negotiated_json["enable_hdr"].clone()).unwrap_or(false); let wired = json::from_value(negotiated_json["wired"].clone())?;