diff --git a/omx/gstomxvideoenc.c b/omx/gstomxvideoenc.c index 82f2fadac5..69ae3cc58d 100644 --- a/omx/gstomxvideoenc.c +++ b/omx/gstomxvideoenc.c @@ -907,6 +907,7 @@ eos: flow_ret = GST_FLOW_EOS; } g_mutex_unlock (&self->drain_lock); + self->downstream_flow_ret = flow_ret; if (flow_ret != GST_FLOW_OK) goto flow_error;