lsmashinput: Don't write black background when input resolution equals output resolution.