Do not keep the non-zero-copy buffer 75/266575/2 accepted/tizen/unified/20211125.003814 submit/tizen/20211123.105159
authorJeongmo Yang <jm80.yang@samsung.com>
Mon, 15 Nov 2021 10:34:59 +0000 (19:34 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Tue, 16 Nov 2021 09:46:05 +0000 (18:46 +0900)
commit888588d0d3bd415cceab4bc4ccf88321848949a4
tree2609647ca246b8c63bfcfec74b2423518978473f
parent525d1aba7376cb67683a99ea5439c744c4a0f260
Do not keep the non-zero-copy buffer

- The zero-copy buffer should not be released until it's returned from user,
  because if it's released, it could be updated while it's being used.
  On the other hand, the non-zero-copy buffer is copied,
  so we don't need to keep it not to be released.

[Version] 0.3.50
[Issue Type] Improvement

Change-Id: I27461808f5c1e9ab4b0a1f692ca715d3e273de41
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
muse/src/muse_camera_dispatcher.c
packaging/mmsvc-camera.spec