Skip to content
  • Martin Storsjö's avatar
    OMX: Don't blindly set the input buffer size · 7d4da02d
    Martin Storsjö authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
    
    
    Keep it set to whatever the codec had set it to initially.
    
    This makes the IOMX codecs work on Nexus 7.
    
    This might also help for issues on Qualcomm devices (buffer sizes
    that were too large on Nexus One, but restricting them broke
    larger resolutions on HP TouchBook instead).
    
    Optionally, one might need to call OMX_SetParameter/OMX_GetParameter
    after setting the width/height to get a proper buffer size initialized
    instead.
    
    Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
    7d4da02d