Change buffer push function for dual stream video recording 71/271271/1 accepted/tizen/unified/20220221.080256 submit/tizen/20220219.150915
authorJeongmo Yang <jm80.yang@samsung.com>
Thu, 17 Feb 2022 12:54:17 +0000 (21:54 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Thu, 17 Feb 2022 12:54:17 +0000 (21:54 +0900)
commit6e530ad27cef82f9dbbd74c8f46fd3586a40977a
tree04bd20563e9e2fc414049ab1a5b21988dadd14c4
parent5977133e0c314175f04629b547cce35ac70d8cc8
Change buffer push function for dual stream video recording

- Previously, gst_app_src_push_buffer() is used and it did not increase reference count of buffer.
  But, the buffer is also released when gst sample which is parent of buffer is released.
  So, the reference count of buffer should be increased when it's pushed to appsrc.

[Version] 0.10.253
[Issue Type] Bug fix

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