template-match must wait for a change, while the single frame mode is
either wait or next. The default value was correct, but using an unrelated
constant.
A new property `singleFrameMode` has been added to motiondetect, that
behaves exactly the same way as in detect-match.