Modify media_packet creation for invalid operation error 11/160411/3 accepted/tizen/unified/20171120.065131 submit/tizen/20171120.011858
authorJiyong Min <jiyong.min@samsung.com>
Thu, 16 Nov 2017 05:28:16 +0000 (14:28 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Thu, 16 Nov 2017 22:52:22 +0000 (07:52 +0900)
commitccb4600275e8f546961d2fe73b645505c99d2c71
tree1bf3d25b49c128cef1cdd983b57c5712611c0f94
parent3c6b33003fa746b24824ef68fb28dffd9bbce776
Modify media_packet creation for invalid operation error

[Problem]
Rarely, invalid operation was returned

[Cause]
Because of the difference between tbm buffer and gstreamer buffer,
the size of packet was not same with the size of buffer.

[Solution]
Use smaller size of buffer than others.

Change-Id: I3f32ef0396f26bada0df6dc907777dd325776924
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
imgp/mm_util_imgp.c