omx: Clarify that loop task is also paused in EOS
authorJosep Torra <n770galaxy@gmail.com>
Sat, 16 Mar 2013 09:00:24 +0000 (10:00 +0100)
committerJosep Torra <n770galaxy@gmail.com>
Sat, 16 Mar 2013 09:00:24 +0000 (10:00 +0100)
omx/gstomxaudioenc.c
omx/gstomxvideodec.c
omx/gstomxvideoenc.c

index c3b7152..9718f8f 100644 (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;
 
index be7e1f8..12f7634 100644 (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;
 
index 69ae3cc..d4d001e 100644 (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;