From c7aa2022d02d38fa29ef4c28085bf557ebcd2d5a Mon Sep 17 00:00:00 2001 From: xue <2144439972@qq.com> Date: Fri, 26 Dec 2025 10:35:51 +0800 Subject: [PATCH] =?utf8?q?=E5=88=87=E6=8D=A2=E8=A7=86=E9=A2=91=E6=88=AA?= =?utf8?q?=E5=9B=BE=E5=A4=B1=E8=B4=A5=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeui/thunderbird/src/ThunderBirdMainView.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdMainView.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdMainView.cpp index cf9e28cae..d4b286994 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdMainView.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdMainView.cpp @@ -620,11 +620,14 @@ namespace OHOS else { WEARABLE_LOGW(WEARABLE_LOG_MODULE_APP, "ThunderBirdMainView::SwitchVideo: lastFrameView_ is null, cannot display last frame"); + hasLastFrame = false; } } else { - WEARABLE_LOGW(WEARABLE_LOG_MODULE_APP, "ThunderBirdMainView::SwitchVideo: Failed to capture last frame"); + // 截图失败,直接切换视频(不显示最后一帧) + WEARABLE_LOGW(WEARABLE_LOG_MODULE_APP, "ThunderBirdMainView::SwitchVideo: Failed to capture last frame, switching video directly"); + hasLastFrame = false; } } -- 2.17.1