GStreamer multimedia framework
Find a file
Guillaume Desmottes 9a8e863862 omxvideodec/enc: add hack updating nBufferCountActual before allocating
The OMX specs states that the nBufferCountActual of a port has to default
to its nBufferCountMin. If we don't change nBufferCountActual we purely rely
on this default. But in some cases, OMX may change nBufferCountMin before we
allocate buffers. Like for example when configuring the input ports with the
actual format, it may decrease the number of minimal buffers required.
This method checks this and update nBufferCountActual if needed so we'll use
less buffers than the worst case in such scenarios.

SetParameter() needs to be called when the port is either disabled or
the component in the Loaded state.

Don't do this for the decoder output as
gst_omx_video_dec_allocate_output_buffers() already check
nBufferCountMin when computing the number of output buffers.

On some platform, like rpi, the default nBufferCountActual is much
higher than nBufferCountMin so only enable this using a specific gst-omx
hack.

https://bugzilla.gnome.org/show_bug.cgi?id=791211
2018-06-08 09:44:49 +02:00
common@ed78bee437 Automatic update of common submodule 2018-04-16 10:53:41 +01:00
config zynq: remove 'no-disable-outport' hack 2018-05-03 09:27:15 +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 omxvideodec/enc: add hack updating nBufferCountActual before allocating 2018-06-08 09:44:49 +02: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