Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
shinyquagsire23 committed Jan 5, 2025
1 parent dd262b7 commit 1cf7925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alvr/packets/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ pub fn decode_stream_config(packet: &StreamConfigPacket) -> Result<StreamConfig>
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())?;
Expand Down

0 comments on commit 1cf7925

Please sign in to comment.