change type name for text/x-raw
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
}
if (g_str_has_prefix (name, "text/")) {
- return _NNS_STRING;
+ return _NNS_TEXT;
}
if (g_str_equal (name, "application/octet-stream")) {
case _NNS_AUDIO:
gst_tensor_config_from_audio_info (config, structure);
break;
- case _NNS_STRING:
+ case _NNS_TEXT:
gst_tensor_config_from_text_info (config, structure);
break;
case _NNS_OCTET:
frames_in = buf_size / frame_size;
break;
- case _NNS_STRING:
+ case _NNS_TEXT:
frame_size = GST_TENSOR_STRING_SIZE;
frames_in = 1; /** supposed 1 frame in buffer */
self->in_info.audio = info;
break;
}
- case _NNS_STRING:
+ case _NNS_TEXT:
frames_dim = 1;
break;
case _NNS_OCTET:
{
_NNS_VIDEO = 0, /**< supposedly video/x-raw */
_NNS_AUDIO, /**< supposedly audio/x-raw */
- _NNS_STRING, /**< supposedly text/x-raw */
+ _NNS_TEXT, /**< supposedly text/x-raw */
_NNS_OCTET, /**< supposedly application/octet-stream */
_NNS_MEDIA_END, /**< End Marker */