[PATCH v2 3/4] windowscodecs: Correctly set output frame size for WriteSource().