Adds proper handling for invalid resolutions (depending on YUVType) to YUVDataVideo, implements parts of the save method of Videos. Makes modules getResolution const.