Skip to content

mpeg2enc: Only allow 1 pending frame for encoding

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 limit things to that.

Merge request reports