Prevent early EOS by resetting eos flag once GST_OMX_ACQUIRE_BUFFER_EOS is triggered
authorGraham Leggett <minfrin@sharp.fm>
Mon, 12 Dec 2016 11:12:48 +0000 (11:12 +0000)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 13 Dec 2016 09:38:38 +0000 (11:38 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=774600

omx/gstomx.c

index 127a1c1..6de1b03 100644 (file)
@@ -1343,11 +1343,12 @@ retry:
       GST_DEBUG_OBJECT (comp->parent, "Component %s port %d signalled EOS",
           comp->name, port->index);
       ret = GST_OMX_ACQUIRE_BUFFER_EOS;
+      port->eos = FALSE
       goto done;
     }
   }
 
-  /* 
+  /*
    * At this point we have no error or flushing/eos port
    * and a properly configured port.
    *