From 2c11a45f7d753925b25d5186cc5c9ed129ee7f47 Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Mon, 24 Feb 2020 15:33:24 +0900 Subject: [PATCH] Hotfix: prepare GStreamer 1.16 From GStreamer 1.16, package name and plugin name should be matched; otherwise, gstreamer will blacklist the plugin. This fixes blacklisting issue with GStreamer 1.16 and Tizen-sensor-framework plugin. Signed-off-by: MyungJoo Ham --- ext/nnstreamer/tensor_source/tensor_src_tizensensor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c b/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c index b6eb10e..8f77339 100644 --- a/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c +++ b/ext/nnstreamer/tensor_source/tensor_src_tizensensor.c @@ -1299,12 +1299,12 @@ gst_nnstreamer_tizen_sensor_init (GstPlugin * plugin) } #ifndef PACKAGE -#define PACKAGE "nnstreamer" +#define PACKAGE "nnstreamer_tizen_sensor" #endif GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, - nnstreamer_tizensensor, + nnstreamer_tizen_sensor, "nnstreamer Tizen sensor framework extension", gst_nnstreamer_tizen_sensor_init, VERSION, "LGPL", "nnstreamer", "https://github.com/nnsuite/nnstreamer"); -- 2.7.4