Revert "use fullrange by default for yuv420p if supported (#6655)" (#6656)

This reverts commit 80afa98d66.
This commit is contained in:
RustDesk authored and GitHub committed 2023-12-11 22:46:32 +08:00
1 parent 80afa98d66
commit ebb14af488
15 files changed
+141 -388

No files matched your search

+2 -2
View File
@@ -252,8 +252,8 @@ impl<T: InvokeUiSession> Remote<T> {
}).collect::<HashMap<usize, i32>>();
let chroma = self.chroma.read().unwrap().clone();
let chroma = match chroma {
Some(Chroma::C444) => "4:4:4",
Some(Chroma::C420) => "4:2:0",
Some(Chroma::I444) => "4:4:4",
Some(Chroma::I420) => "4:2:0",
None => "-",
};
let chroma = Some(chroma.to_string());