- initialized variable was not set to TRUE even if it's initailized
so it makes unreachable code.
[Version] 0.0.18
[Issue Type] Bug fix
Change-Id: I32f236befe63f93d25e810294cc5ce1d2034ac07
Name: capi-media-editor
Summary: A Tizen Media Editor API
-Version: 0.0.17
+Version: 0.0.18
Release: 0
Group: Multimedia/API
License: Apache-2.0
NULL_PARAM_CHECK(editor);
if (initialized) {
- LOG_ERROR("gstreamer is already initialized.");
- return TRUE;
+ LOG_INFO("gstreamer is already initialized.");
+ return MEDIAEDITOR_ERROR_NONE;
}
gst_args = editor->ini.general.gst_args;
/* Initialize the GStreamer Editing Services */
ges_init();
+ initialized = TRUE;
+
return MEDIAEDITOR_ERROR_NONE;
}