• Tim-Philipp Müller's avatar
    avauddec: fix decoding of APE and Cook audio · ef8a1bdd
    Tim-Philipp Müller authored
    .. and other formats where ffmpeg gives us multiple
    subframes per input frame.
    
    Since we now support non-interleaved audio, we can't
    just concat buffers any more. Also, audio metas won't
    be combined when buffers are merged, so when we push
    out the combined buffer we'll look at the meta describing
    only the first subframe and think it covers the whole
    frame leading to stutter/gaps in the output.
    
    We could fix this by copying the output data into a new
    buffer when we merge buffers, but that's suboptimal, so
    let's add some API to GstAudioDecoder to push out subframes
    and use that instead.
    
    gstreamer/gst-libav#49
    ef8a1bdd
gstavauddec.h 2.1 KB