[subplugin] g_module_open with LOCAL flag (instead of GLOBAL)
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Mon, 18 Apr 2022 07:11:27 +0000 (16:11 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 19 Apr 2022 10:30:19 +0000 (19:30 +0900)
commit3d6e418a58895503586bd8c521ad9e120bbb1b32
tree43577b6c348d23ed4e1dd6ce08d4d77832677659
parent990314b5992b1c6c4ececdbc00bcb39cfa8416da
[subplugin] g_module_open with LOCAL flag (instead of GLOBAL)

- When tf1-lite and tf2-lite both are present, the later called
  subplugin is not initalized. It's because the constructor functions
  are same as "init_filter_tflite".
  e.g.) `g_module_open (...tf1lite.so, 0)` will call "init_filter_tflite" of
  tf2lite.so.
- This resolves #3709

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
gst/nnstreamer/nnstreamer_subplugin.c