18269: Capture buffer size cannot be changed before capturing Fixed but not merged into 4.0 branch yet. If you would like to test on Windows, try a 4.1.0rc0 build from the automated builds.
4.1.0rc0