omxvideoenec: Don't forget propagate flow return value upstream

This commit is contained in:
Josep Torra 2013-03-16 09:59:01 +01:00
parent c51afe9093
commit e16207f3dd

View file

@ -907,6 +907,7 @@ eos:
flow_ret = GST_FLOW_EOS; flow_ret = GST_FLOW_EOS;
} }
g_mutex_unlock (&self->drain_lock); g_mutex_unlock (&self->drain_lock);
self->downstream_flow_ret = flow_ret;
if (flow_ret != GST_FLOW_OK) if (flow_ret != GST_FLOW_OK)
goto flow_error; goto flow_error;