Skip to content

msdkenc: close encoder upon bitrate change

Julien Isorce requested to merge cap/gst-plugins-bad:fix_bitrate_change into master

Upon bitrate change, make sure to close the encoder otherwise the encoder is not re-initialized and the target bitrate is never reached, and the encoder was flushed at each frame from this moment.

Regression introduced in f2b35abc which replaced the call that was closing the encoder by an early return to avoid re-initialization.

Merge request reports

Loading