Drop first recording buffer if it's from tizen allocator 66/188466/2 accepted/tizen/unified/20180906.054554 submit/tizen/20180905.091740
authorJeongmo Yang <jm80.yang@samsung.com>
Wed, 5 Sep 2018 07:39:45 +0000 (16:39 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Wed, 5 Sep 2018 07:50:02 +0000 (16:50 +0900)
commit9586339c11df0cc2f5bf16e2ccf9bd720956bc4a
tree0350602d81cf3f9f255309234d882b39b4041e95
parent18e036bdd40f12ed1a478b0267e6fe2abff1b9be
Drop first recording buffer if it's from tizen allocator

- In single stream device, preview buffer is also used for recording,
  and the first recording buffer to appsrc is copied, because its reference count is bigger than 1.
  Dropping buffer will decrease reference count and avoid to copy it.

[Version] 0.10.168
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20180903.2]

Change-Id: I658bf7822f62cb3f86a5749fe4dacc120bf44685
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
packaging/libmm-camcorder.spec
src/mm_camcorder_gstcommon.c