tizencamerasrc: Fix plugin load failure 18/265018/2 submit/tizen/20211007.071435
authorJeongmo Yang <jm80.yang@samsung.com>
Thu, 7 Oct 2021 06:30:03 +0000 (15:30 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Thu, 7 Oct 2021 06:57:04 +0000 (15:57 +0900)
commit5f9c9e8f027106adee80ee50478d59b0d8d95001
tree15c9426ef9f58f1f2b694e59d397912fd3b9e3ce
parent11d591f4043fa13ce2c61440cfbd77ca18ec8fc1
tizencamerasrc: Fix plugin load failure

- The instance for plugin should not be bigger than G_MAXUINT16,
  but, it's exceeded because size of device_info(camera_device_info_list_s) is changed in camera HAL interface.
  So, this commit reduces the size of instance by dynamic allocation for device_info and the issue is fixed.

[Version] 1.16.2-41
[Issue Type] Bug fix

Change-Id: Ibfaf70c5cc3486e0cd4f1da822e0e5d867e69cfb
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
packaging/gst-plugins-tizen.spec
tizencamerasrc/src/gsttizencamerasrc.c
tizencamerasrc/src/include/gsttizencamerasrc.h