GStreamer multimedia framework
Find a file
Guillaume Desmottes 40ae47df5e omx: wait for flush complete and buffers being released when flushing
When flusing we should wait for OMX to send the flush command complete event
AND all ports being released.
We were stopping as soon as one of those condition was met.

Fix a race between FillThisBufferDone/EmptyBufferDone and the flush
EventCmdComplete messages. The OMX implementation is supposed to release
its buffers before posting the EventCmdComplete event but the ordering
isn't guaranteed as the FillThisBufferDone/EmptyBufferDone and
EventHandler callbacks can be called from different threads (cf 2.7
'Thread Safety' in the spec).

Only wait for buffers currently used by OMX as some buffers may not be
in the pending queue because they are held downstream.

https://bugzilla.gnome.org/show_bug.cgi?id=789475
2018-08-29 12:18:39 -04:00
common@ed78bee437 Automatic update of common submodule 2018-04-16 10:53:41 +01:00
config zynqultrascaleplus: enable 'ensure-buffer-count-actual' hack 2018-06-08 09:44:49 +02:00
examples TestEgl: Removed redundant/unused code 2018-01-19 10:16:36 +00:00
hooks build: add meson build definition 2017-01-18 15:23:42 +11:00
m4 Add m4 directory so aclocal doesn't complain in autogen.sh 2015-04-08 16:03:34 +01:00
omx omx: wait for flush complete and buffers being released when flushing 2018-08-29 12:18:39 -04:00
tests add test support 2017-10-19 16:44:06 +02:00
tools meson: simplify OMX extensions detection 2018-01-30 11:54:37 +00:00
.gitignore add test support 2017-10-19 16:44:06 +02:00
.gitmodules common: use https protocol for common submodule 2016-11-26 11:28:00 +00:00
AUTHORS Release 1.0.0 2013-03-22 17:16:33 +01:00
autogen.sh Automatic update of common submodule 2017-04-10 23:51:00 +01:00
ChangeLog Release 1.14.0 2018-03-19 20:31:03 +00:00
configure.ac Back to development 2018-03-20 10:31:10 +00:00
COPYING Initial commit with build system 2011-06-21 10:52:13 +02:00
gst-omx.doap Release 1.14.0 2018-03-19 20:31:03 +00:00
Makefile.am Release 1.13.1 2018-02-15 17:50:14 +00:00
meson.build meson: Update option names to omit 'with_omx' prefixes 2018-05-25 01:35:58 +10:00
meson_options.txt meson: Update option names to omit 'with_omx' prefixes 2018-05-25 01:35:58 +10:00
NEWS Back to development 2018-03-20 10:31:10 +00:00
README omx: Add minimal README file 2011-10-25 14:24:59 +02:00
RELEASE Back to development 2018-03-20 10:31:10 +00:00

GStreamer OpenMAX IL wrapper plugin
--------------------------

 This plugin wraps available OpenMAX IL components and makes
 them available as standard GStreamer elements.

License:
--------

  This package and its contents are licensend under the GNU Lesser General
Public License (LGPL).

Dependencies:
-------------

 * GStreamer core
 * gst-plugins-base