From: MyungJoo Ham Date: Mon, 24 Feb 2020 06:33:24 +0000 (+0900) Subject: Hotfix: prepare GStreamer 1.16 X-Git-Tag: accepted/tizen/unified/20200228.123757^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c11a45f7d753925b25d5186cc5c9ed129ee7f47;p=platform%2Fupstream%2Fnnstreamer.git 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 --- 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");