]> git.sesse.net Git - vlc/commit
omxil: Set OMX version 1.0.0 on android
authorMartin Storsjö <martin@martin.st>
Thu, 22 Sep 2011 11:42:46 +0000 (14:42 +0300)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 22 Sep 2011 11:56:05 +0000 (13:56 +0200)
commit875945f09f4bbb62c8840de25c07e44353c06dab
tree2ee65383c40dd33aff060bc6b772e855633e67e5
parent0ad141d394dd86e930d1f27be2ea6ea7e698fddf
omxil: Set OMX version 1.0.0 on android

The Samsung OMX components on e.g. Nexus S require major == 1
and minor == 0, otherwise they simply return errors on all
SetParameter/GetParameter calls.

Stagefright's OMX client always sets version 1.0.0, which thus
probably should be a safe choice for all android cases.

An alternative would be to store the version to set as a
variable in decoder_sys_t, and set that to 1.0.0 conditionally
only for Samsung OMX components, but that would make
OMX_INIT_COMMON more complex.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/codec/omxil/omxil_utils.h