public final void setVideoFileTempDimensions(Dimension size) {
		if (size.width <= 0 && size.height <= 0) return;

		Dimension fullSize = this.getVideoFileSourceDimensions();
		if (fullSize.width <= 0 && fullSize.height <= 0) return;

		Dimension newSize = new Dimension(size);
		if (newSize.width <= 0) {
			newSize.width = newSize.height * fullSize.width / fullSize.height;
		}
		else if (newSize.height <= 0) {
			newSize.height = newSize.width * fullSize.height / fullSize.width;
		}

		boolean trigger = false;

		synchronized (this.videoFileTempLock) {
			if (this.videoFileTempDimensions.width != newSize.width || this.videoFileTempDimensions.height != newSize.height) {
				this.videoFileTempDimensions.width = newSize.width;
				this.videoFileTempDimensions.height = newSize.height;
				trigger = true;
			}
		}

		if (trigger) {
			this.clearVideoFileTemp();
		}
	}