Skip to content

msdkenc: handle bitrate changes in playing state

When the bitrate is changed in playing state the encoder issues a reconfig that drains and recreates the underlaying hw encoder instance. With this set of changes we ensure that all this work is only made when the bitrate did actually change. It also tries to reuse the vpp buffer pool and fixes the pool leak spotted when testing this feature.

Edited by Josep Torra

Merge request reports