mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-27 09:10:54 +00:00
!16135 DropFrameProcess releaseFence整改
Merge pull request !16135 from balingbaling/camera1018
This commit is contained in:
commit
38a7a8b4a6
@ -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 ",
|
||||
|
Loading…
Reference in New Issue
Block a user