First part of a patchset; the second part will be sent separately
because the complete set crosses the ML thresholds ("Message body is too
big: 1731572 bytes with a limit of 1000 KB"). A complete branch can be
found here: https://github.com/mkver/FFmpeg/tree/mpvenc

- Andreas