[video360] Fix 2 bugs 37/229437/1 accepted/tizen/unified/20200402.155419 submit/tizen/20200402.040110
authorJeongmo Yang <jm80.yang@samsung.com>
Wed, 1 Apr 2020 05:20:34 +0000 (14:20 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Wed, 1 Apr 2020 05:20:34 +0000 (14:20 +0900)
commit2832044a08129c9fe4ecbcc76825ee36bf0cf679
tree191c20de5ff380e3fb6808063724c4199a10baf7
parent3e7aaaa07f33b2a4854111405fc446e5f1edf6e3
[video360] Fix 2 bugs

1. Remove invalid buffer referencing
 : It seems that the additional buffer referencing is needed because of bug in gstvideofilter,
   But, it's fixed and now, this buffer referencing code causes buffer handling error after that.
   So, the buffer referencing code should be removed.

2. Correct passthrough function
 : Previously, the new output buffer is allocated and it's pushed without any change, so it caused black screen.
   This patch changes the logic when passthrough is true like below.
   - Just assign input buffer as output buffer without new allocation.

[Version] 1.16.2-2
[Profile] Common
[Issue Type] Bug fix

Change-Id: Ida2f2926ea4f2e8374f12acfbc80b587217bebbf
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
packaging/gst-plugins-tizen.spec
video360/src/gstvideo360.c