Commit f2c75d54 authored by Josep Torra's avatar Josep Torra

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.
parent 75f47ee5
Pipeline #69132 failed with stages
in 48 minutes and 48 seconds