From: Sangjung Woo Date: Fri, 10 May 2019 02:34:34 +0000 (+0900) Subject: [Tizen/API] Make a consistency in naming of GStreamer X-Git-Tag: v0.2.0~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30558843782c1420b6999fbe7568c862d5a8bb1a;p=platform%2Fupstream%2Fnnstreamer.git [Tizen/API] Make a consistency in naming of GStreamer This patch makes a consistency in naming of GStreamer. * Normal case: GStreamer * URL only: gstreamer Signed-off-by: Sangjung Woo --- diff --git a/tizen-api/doc/nnstreamer_doc.h b/tizen-api/doc/nnstreamer_doc.h index f366e24..a09ab1b 100644 --- a/tizen-api/doc/nnstreamer_doc.h +++ b/tizen-api/doc/nnstreamer_doc.h @@ -31,13 +31,13 @@ * https://github.com/nnsuite/nnstreamer/ \n * \n * Main objectives of NNStreamer include:\n - * * Provide neural network framework connectivities (e.g., tensorflow, caffe) for gstreamer streams.\n + * * Provide neural network framework connectivities (e.g., tensorflow, caffe) for GStreamer streams.\n * * **Efficient Streaming for AI Projects**: Apply efficient and flexible stream pipeline to neural networks.\n * * **Intelligent Media Filters!**: Use a neural network model as a media filter / converter.\n * * **Composite Models!**: Multiple neural network models in a single stream pipeline instance.\n * * **Multi Modal Intelligence!**: Multiple sources and stream paths for neural network models.\n * * Provide easy methods to construct media streams with neural network models using the de-facto-standard media stream framework, **GStreamer**.\n - * * Gstreamer users: use neural network models as if they are yet another media filters.\n + * * GStreamer users: use neural network models as if they are yet another media filters.\n * * Neural network developers: manage media streams easily and efficiently.\n * \n * There are following sub groups proposed:\n diff --git a/tizen-api/include/nnstreamer.h b/tizen-api/include/nnstreamer.h index 85ec22f..e38f6fe 100644 --- a/tizen-api/include/nnstreamer.h +++ b/tizen-api/include/nnstreamer.h @@ -110,7 +110,7 @@ typedef enum { NNS_ERROR_NONE = TIZEN_ERROR_NONE, /**< Success! */ NNS_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */ NNS_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< The feature is not supported */ - NNS_ERROR_STREAMS_PIPE = TIZEN_ERROR_STREAMS_PIPE, /**< Cannot create or access Gstreamer pipeline. */ + NNS_ERROR_STREAMS_PIPE = TIZEN_ERROR_STREAMS_PIPE, /**< Cannot create or access GStreamer pipeline. */ NNS_ERROR_TRY_AGAIN = TIZEN_ERROR_TRY_AGAIN, /**< The pipeline is not ready, yet (not negotiated, yet) */ } nns_error_e; @@ -342,7 +342,7 @@ int nns_pipeline_src_inputdata (nns_src_h h, nns_buf_policy_e policy, char *buf[ /** * @brief Get a handle to operate a "GstInputSelector / GstOutputSelector" node of nnstreamer pipelines. - * @detail Refer to gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/gst-plugins-bad-plugins-input-selector.html for input selectors. + * @detail Refer to https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/gst-plugins-bad-plugins-input-selector.html for input selectors. * Refer to https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-output-selector.html for output selectors. * @param[in] pipe The pipeline to be managed. * @param[in] switchname The name of switch (InputSelector/OutputSelector) diff --git a/tizen-api/src/tizen-api-pipeline.c b/tizen-api/src/tizen-api-pipeline.c index 8fc3452..2b4de6a 100644 --- a/tizen-api/src/tizen-api-pipeline.c +++ b/tizen-api/src/tizen-api-pipeline.c @@ -284,11 +284,11 @@ nns_pipeline_construct (const char *pipeline_description, nns_pipeline_h * pipe) if (FALSE == gst_init_check (NULL, NULL, &err)) { if (err) { dlog_print (DLOG_ERROR, DLOG_TAG, - "Gstreamer has the following error: %s", err->message); + "GStreamer has the following error: %s", err->message); g_error_free (err); } else { dlog_print (DLOG_ERROR, DLOG_TAG, - "Cannot initialize gstreamer. Unknown reason."); + "Cannot initialize GStreamer. Unknown reason."); } return NNS_ERROR_STREAMS_PIPE; }