From 80929c7a13482d7c7758c058ee1617db4b5151c6 Mon Sep 17 00:00:00 2001 From: hanwenzhao Date: Mon, 4 Nov 2024 19:36:45 +0800 Subject: [PATCH] add log for wait state Signed-off-by: hanwenzhao Change-Id: I57ad64be7c911eb0ca743fb327aa9ecb084cc2b4 --- src/filter/filter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/filter/filter.cpp b/src/filter/filter.cpp index e894d8e3..ab8ddddf 100644 --- a/src/filter/filter.cpp +++ b/src/filter/filter.cpp @@ -492,6 +492,7 @@ void Filter::ChangeState(FilterState state) Status Filter::WaitAllState(FilterState state) { AutoLock lock(stateMutex_); + MEDIA_LOG_I("%{public}s wait %{public}d", name_.c_str(), state); if (curState_ != state) { cond_.WaitFor(lock, 30000, [this, state] { // 30000 ms timeout return curState_ == state || curState_ == FilterState::ERROR; -- Gitee