d3b6026bfd
- Filled empty libs/hbb_common/ submodule (cloned from rustdesk/hbb_common) - Patched Flutter 3.44 / Dart 3.12 compatibility: * flutter/lib/generated_bridge.dart: asTypedList with cast<>, DartPort=Int64 * flutter/lib/common.dart: DialogTheme->DialogThemeData, TabBarTheme->TabBarThemeData * flutter/pubspec.yaml: extended_text 14.0.0->15.0.2, google_fonts override 5.0.0 * flutter/macos/Runner/Configs/Release.xcconfig: EXCLUDED_ARCHS=x86_64 - Build verified: cargo check + cargo build --features flutter + cargo build --release --features flutter - Verified flutter build macos --debug and --release both produce working .app - Verified .dmg installer (27MB arm64) created via hdiutil - Build deps: Xcode 26.5, CocoaPods 1.16.2, Flutter 3.44, VCPKG arm64-osx
29 lines
838 B
Diff
29 lines
838 B
Diff
From bec8d49e75b37806e1cff39c75027860fde0bfa2 Mon Sep 17 00:00:00 2001
|
|
From: 21pages <sunboeasy@gmail.com>
|
|
Date: Fri, 27 Dec 2024 08:43:12 +0800
|
|
Subject: [PATCH] fix nvenc reconfigure blur
|
|
|
|
Signed-off-by: 21pages <sunboeasy@gmail.com>
|
|
---
|
|
libavcodec/nvenc.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
|
|
index 2cce478be0..f4c559b7ce 100644
|
|
--- a/libavcodec/nvenc.c
|
|
+++ b/libavcodec/nvenc.c
|
|
@@ -2741,8 +2741,8 @@ static void reconfig_encoder(AVCodecContext *avctx, const AVFrame *frame)
|
|
}
|
|
|
|
if (reconfig_bitrate) {
|
|
- params.resetEncoder = 1;
|
|
- params.forceIDR = 1;
|
|
+ params.resetEncoder = 0;
|
|
+ params.forceIDR = 0;
|
|
|
|
needs_encode_config = 1;
|
|
needs_reconfig = 1;
|
|
--
|
|
2.43.0.windows.1
|
|
|