• Martin Storsjö's avatar
    omxil: Set OMX version 1.0.0 on android · 875945f0
    Martin Storsjö authored
    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: default avatarJean-Baptiste Kempf <jb@videolan.org>
    875945f0
omxil_utils.h 7.79 KB