• Nicolas George's avatar
    ffmpeg: make reading packets from thread blocking. · 299a5687
    Nicolas George authored
    If a packet is not ready on the input selected by ffmpeg,
    it will read from another input instead. If that happens
    repeatedly, frames will accumulate somewhere later in the
    processing to ensure streams synchronization. It can happen
    in particular when reading from a slow medium or an
    expensive lavfi filter graph.
    
    Make reading from normal demuxers on non-streamed data and
    from the lavfi pseudo-device blocking to avoid that.
    
    Should fix trac ticket #3079.
    299a5687
ffmpeg.h 14.8 KB