diff options
-rw-r--r-- | omx/gstomxaudioenc.c | 2 | ||||
-rw-r--r-- | omx/gstomxvideodec.c | 1 | ||||
-rw-r--r-- | omx/gstomxvideoenc.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/omx/gstomxaudioenc.c b/omx/gstomxaudioenc.c index 27d8fed..a5faa5a 100644 --- a/omx/gstomxaudioenc.c +++ b/omx/gstomxaudioenc.c @@ -529,9 +529,9 @@ eos: flow_ret = GST_FLOW_UNEXPECTED; } 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; diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index 9515d99..e0ba41a 100644 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -906,6 +906,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; diff --git a/omx/gstomxvideoenc.c b/omx/gstomxvideoenc.c index f0f0f7f..09ed13d 100644 --- a/omx/gstomxvideoenc.c +++ b/omx/gstomxvideoenc.c @@ -908,6 +908,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; |