Skip to content
  • Thiago Santos's avatar
    decodebin2: only allow 'lower' multiqueues to emit buffering messages · 5cd07bd2
    Thiago Santos authored
    When we have a scenario of demuxers linked to demuxers, decodebin2
    will create multiqueue at different levels of the pipeline. The problem
    is that only the lowest multiqueue's should do the buffering messaging,
    as they will handle with the raw streams data.
    
    When all multiqueues are doing buffering, the upper ones can handle
    large buffers that easily fill them, moving from 0% to 100% from
    buffer to buffer, causing too much buffering messages to be posted.
    This hangs the pipeline unnecessarily and might lead to deadlocks.
    5cd07bd2