omx: Clarify that loop task is also paused in EOS

This commit is contained in:
Josep Torra 2013-03-16 10:00:24 +01:00
parent e16207f3dd
commit a5778efe16
3 changed files with 3 additions and 1 deletions

View file

@ -513,9 +513,9 @@ eos:
flow_ret = GST_FLOW_EOS;
}
g_mutex_unlock (&self->drain_lock);
self->downstream_flow_ret = flow_ret;
/* Here we fallback and pause the task for the EOS case */
if (flow_ret != GST_FLOW_OK)
goto flow_error;

View file

@ -1642,6 +1642,7 @@ eos:
g_mutex_unlock (&self->drain_lock);
self->downstream_flow_ret = flow_ret;
/* Here we fallback and pause the task for the EOS case */
if (flow_ret != GST_FLOW_OK)
goto flow_error;

View file

@ -909,6 +909,7 @@ eos:
g_mutex_unlock (&self->drain_lock);
self->downstream_flow_ret = flow_ret;
/* Here we fallback and pause the task for the EOS case */
if (flow_ret != GST_FLOW_OK)
goto flow_error;