|
@@ -224,10 +224,12 @@ namespace MIVA{
|
|
|
}
|
|
|
sourceId++;
|
|
|
}
|
|
|
+ gst_element_set_state(this->pipeline, GST_STATE_PAUSED);
|
|
|
NoticeCenter::Instance().emitEvent(NOTICE_RELEASE);
|
|
|
}
|
|
|
void Inference::RestartTask()
|
|
|
{
|
|
|
+ gst_element_set_state(this->pipeline, GST_STATE_PLAYING);
|
|
|
std::vector<DataSource>::iterator iter;
|
|
|
for (iter = this->m_DataList.begin(); iter != this->m_DataList.end(); iter++){
|
|
|
if(iter->Play == false){
|
|
@@ -321,7 +323,7 @@ namespace MIVA{
|
|
|
gst_message_parse_warning (msg, &error, &debug);
|
|
|
WarnL << "WARNING from element " << GST_OBJECT_NAME (msg->src) << ": " << error->message;
|
|
|
g_free (debug);
|
|
|
- ErrorL << "Warning: " << error->message;
|
|
|
+ WarnL << "Warning: " << error->message;
|
|
|
g_error_free (error);
|
|
|
break;
|
|
|
}
|