• Martin Storsjö's avatar
    omxil: Handle sentinel buffers in DecodeAudio, too · 650b219b
    Martin Storsjö authored
    These buffers were introduced to avoid a potential deadlock
    when the codec has issued a PortSettingsChanged event but
    not returned any buffers to the client, making the DecodeVideo
    function hang waiting for an input buffer to use, before
    handling the reconfigure. The same handling needs to be done
    for DecodeAudio too, otherwise it will try to use the
    sentinel buffer as a normal one.
    Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
    (cherry picked from commit 74b8075f417f3a9b92a43ae7c97973b2719a225c)
    Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
    650b219b
omxil.c 60.3 KB