From b8ea38b5f38afb5e763267af7ee7bfdf12f33058 Mon Sep 17 00:00:00 2001 From: mofeng-git Date: Sat, 15 Aug 2026 21:26:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=20s905=20=E6=99=B6?= =?UTF-8?q?=E6=99=A8=20H.264=20=E7=A1=AC=E4=BB=B6=E7=BC=96=E7=A0=81?= =?UTF-8?q?=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/video/codec/amlenc.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/video/codec/amlenc.rs b/src/video/codec/amlenc.rs index 99fa06b1..4ee9b0c5 100644 --- a/src/video/codec/amlenc.rs +++ b/src/video/codec/amlenc.rs @@ -643,10 +643,14 @@ pub fn has_parameter_sets(codec: AmlencCodec, data: &[u8]) -> bool { )] fn is_s912_gxm_compatible(compatible: &[u8]) -> bool { let compatible = String::from_utf8_lossy(compatible).to_ascii_lowercase(); + // s912 compatible.contains("amlogic,gxm") || compatible.contains("amlogic, gxm") || compatible.contains("amlogic,meson-gxm") || compatible.contains("amlogic,s912") + // s905d + || compatible.contains("amlogic,meson-gxl") + || compatible.contains("amlogic,s905d") } pub fn system_is_s912_gxm() -> Result {