From c119db49089176ac4b0f7f800b1c7f8b4384b774 Mon Sep 17 00:00:00 2001 From: mofeng-git Date: Sun, 22 Mar 2026 14:45:59 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=BC=96=E7=A0=81=E5=99=A8=E6=8E=A2?= =?UTF-8?q?=E6=B5=8B=E6=B5=8B=E8=AF=95=E5=88=86=E8=BE=A8=E7=8E=87=E7=94=B1?= =?UTF-8?q?=201080p=20=E8=B0=83=E6=95=B4=E4=B8=BA=20720p?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/video/encoder/registry.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/encoder/registry.rs b/src/video/encoder/registry.rs index fb3d475f..afbbc7ad 100644 --- a/src/video/encoder/registry.rs +++ b/src/video/encoder/registry.rs @@ -276,12 +276,12 @@ impl EncoderRegistry { /// Get the global registry instance /// - /// The registry is initialized lazily on first access with 1920x1080 detection. + /// The registry is initialized lazily on first access with 1280x720 detection. pub fn global() -> &'static Self { static INSTANCE: OnceLock = OnceLock::new(); INSTANCE.get_or_init(|| { let mut registry = EncoderRegistry::new(); - registry.detect_encoders(1920, 1080); + registry.detect_encoders(1280, 720); registry }) }