[ACR-1813] Add new return value for preview callback APIs 62/303762/5
authorJeongmo Yang <jm80.yang@samsung.com>
Thu, 4 Jan 2024 10:36:45 +0000 (19:36 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Fri, 5 Jan 2024 07:10:27 +0000 (16:10 +0900)
commit91750794315a423aa95befb186b089011b5d9563
tree0227eba518aa94fc85df73421716fbfba7d62aea
parente549a7569adeabd52f7637d46dddc92dda86aa5f
[ACR-1813] Add new return value for preview callback APIs

- It could be deadlock or delay of preview frames
  if preview callback APIs are called in preview callback thread.
- This patch adds new return value for error for that case
  and prevents the such problems.

[Version] 0.4.119
[Issue Type] New feature

Change-Id: I5048a2323719d5b2f17db4e3e18409610b181f42
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
include/camera.h
include/camera_private.h
packaging/capi-media-camera.spec
src/camera.c