diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-03-15 10:58:58 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-03-15 11:01:12 +0100 |
commit | 35a13a2cead12656d60c16ecc93d279c4889cda2 (patch) | |
tree | 7a026a0fd04b409dc9f0cdcbc253bca8ffd5fecf | |
parent | 84c6fd44d26efeed5e7f9728a354504fea62e57c (diff) |
omx: Reset EOS flag in more places
-rw-r--r-- | omx/gstomx.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/omx/gstomx.c b/omx/gstomx.c index 26a9f15385..ed707aac0c 100644 --- a/omx/gstomx.c +++ b/omx/gstomx.c @@ -1552,11 +1552,11 @@ gst_omx_port_set_flushing (GstOMXPort * port, GstClockTime timeout, err = OMX_ErrorTimeout; goto done; } - - /* Reset EOS flag */ - port->eos = FALSE; } + /* Reset EOS flag */ + port->eos = FALSE; + done: gst_omx_port_update_port_definition (port, NULL); @@ -2217,8 +2217,11 @@ gst_omx_port_wait_enabled_unlocked (GstOMXPort * port, GstClockTime timeout) gst_omx_error_to_string (err), err); err = last_error; } else { - if (enabled) + if (enabled) { port->flushing = FALSE; + /* Reset EOS flag */ + port->eos = FALSE; + } } gst_omx_component_handle_messages (comp); |