Skip to content
  • Jan Schmidt's avatar
    mpeg2enc: Only allow 1 pending frame for encoding · 520f516a
    Jan Schmidt authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
    Having an unlimited input queue is very bad if the
    encoder can't run at real-time. Eventually it will
    consume all RAM. I don't really see any reason to
    have more than 1 outstanding encoded frame, so
    remove the queue and limit things to 1 pending frame.
    
    Part-of: <!2510>
    520f516a