This patch removes the unnecessary gst_tensor_config_init() function call
since init function of each type (i.g. gst_tensor_config_from_[TYPE]_info())
calls gst_tensor_config_init() internally.
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
media_type m_type;
g_return_val_if_fail (config != NULL, FALSE);
- gst_tensor_config_init (config);
-
g_return_val_if_fail (structure != NULL, FALSE);
/* update config from tensor stream */
gst_tensor_config_from_octet_stream_info (config, structure);
break;
default:
+ gst_tensor_config_init (config);
GST_WARNING ("Unsupported type %d\n", m_type);
return FALSE;
}