Allow fractional percentages
I would like to specify an encoder profile with fractional percentages, wherever percentages can already be used.
For example, I would like to be able to produce thumbnails with exactly 1/8th the height of the input video, by specifying a percentage of 12.5%.
If I try this now, I get an error:
Error : ErrorProcessingTask : An error has occurred. Stage: ApplyEncodeCommand. Code: System.FormatException.
Microsoft.Cloud.Media.Encoding.PresetException: Failed to enable StretchMode in the preset. --->
System.FormatException: Input string was not in a correct format.