The patch disables some of the early bailout features
in the new motion estimation, which were causing
problems for some fast-moving scenes, as reported on
the Doom9 forum discussions on Dirac
The patch causes a slight increase in encoding time
(circa 5% on some pictures).
I'll commit this soon if it proves to solve the problem.