Skip to content

Draft: Rework MediaCodec download code

see #26934

  • This merge request adds support for the ImageReader API in VLC.
  • If the device supports the ImageReader API, VLC will utilize it when hardware decoding acceleration is enabled.
  • It also removes the dependency on OMX functions.

Current issues

Dequeue output is returning negative index

log
2025-06-18 09:13:19.182 32544-651   AudioEffect             org.videolan.vlc.debug               I  setParameter(): 0xb4000072292b1120, param: 69, param2: -1
2025-06-18 09:13:19.183 32544-32581 VLC-std                 org.videolan.vlc.debug               E  ../../modules/codec/omxil/mediacodec_ndk.c:729: int ReleaseOutput(mc_api *, int, _Bool): assertion "i_index >= 0" failed
2025-06-18 09:13:19.183 32544-647   libc                    org.videolan.vlc.debug               A  ../../modules/codec/omxil/mediacodec_ndk.c:729: int ReleaseOutput(mc_api *, int, _Bool): assertion "i_index >= 0" failed
2025-06-18 09:13:19.183 32544-647   libc                    org.videolan.vlc.debug               A  Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 647 (vlc-mediacodec), pid 32544 (main @coroutine)
2025-06-18 09:13:19.185 32544-651   AudioEffect             org.videolan.vlc.debug               I  setParameter(): 0xb4000072292b1120, param: 80, param2: 0
Edited by Mangal Kushwah

Merge request reports

Loading