How to change size of WebcamTexture texture output?

It is possible to set width and height on the input (e.g. to 1920x1080) but the resulting texture’s size is always 640x480.

Looking through the code the texture size is set like this:
tex.setSize(videoElement.videoWidth, videoElement.videoHeight);

But there seems to be no way to access the videoElement.

Saving and reloading results in this:

Sorry for spamming but I am only allowed one image per post: