!16135 DropFrameProcess releaseFence整改

Merge pull request !16135 from balingbaling/camera1018
This commit is contained in:
openharmony_ci 2024-10-19 08:41:00 +00:00 committed by Gitee
commit 38a7a8b4a6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -900,7 +900,7 @@ GSError RSBaseRenderUtil::DropFrameProcess(RSSurfaceHandler& surfaceHandler, uin
return OHOS::GSERROR_NO_BUFFER;
}
ret = surfaceConsumer->ReleaseBuffer(returnValue.buffer, SyncFence::InvalidFence());
ret = surfaceConsumer->ReleaseBuffer(returnValue.buffer, returnValue.fence);
if (ret != OHOS::SURFACE_ERROR_OK) {
RS_LOGW("RSBaseRenderUtil::DropFrameProcess(node: %{public}" PRIu64
"): ReleaseBuffer failed(ret: %{public}d), Acquire done ",