From 89a6e3e5ede97a7b87d4d7b90a6a186729a02fe5 Mon Sep 17 00:00:00 2001 From: lingfeng <15996208704@163.com> Date: Mon, 19 Feb 2024 10:36:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E8=80=A6chromium=E5=86=85=E6=A0=B8?= =?UTF-8?q?=E5=92=8Crom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lingfeng <15996208704@163.com> Change-Id: I4c441b3b162406ce0b926584f547a373543ff0f4 --- modules/desktop_capture/ohos/base_window_capturer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/desktop_capture/ohos/base_window_capturer.cc b/modules/desktop_capture/ohos/base_window_capturer.cc index a054b642..80e9bc6d 100755 --- a/modules/desktop_capture/ohos/base_window_capturer.cc +++ b/modules/desktop_capture/ohos/base_window_capturer.cc @@ -229,7 +229,7 @@ void BaseWindowCapturer::HandleBuffer() { return; } - std::unique_ptr buffer = + std::shared_ptr buffer = screen_capture_adapter_->AcquireVideoBuffer(); if (!buffer) { LOG(ERROR) << "acquire video buffer failed"; -- Gitee