From 933a285bf59edce8c42a9184c2ca25205a9f865e Mon Sep 17 00:00:00 2001 From: gnattu Date: Thu, 23 May 2024 23:03:35 +0800 Subject: [PATCH] Use single quote Signed-off-by: gnattu --- MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs b/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs index e478fb97fe..ee95804428 100644 --- a/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs +++ b/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs @@ -827,7 +827,7 @@ namespace MediaBrowser.MediaEncoding.Encoder if (imageStream.Width is not null && imageStream.Height is not null) { // For hardware trickplay encoders, we need to re-calculate the size because they used fixed scale dimensions - var darParts = imageStream.AspectRatio.Split(":"); + var darParts = imageStream.AspectRatio.Split(':'); var (wa, ha) = (double.Parse(darParts[0], CultureInfo.InvariantCulture), double.Parse(darParts[1], CultureInfo.InvariantCulture)); // When dimension / DAR does not equal to 1:1, then the frames are most likely stored stretched. // Note: this might be incorrect for 3D videos as the SAR stored might be per eye instead of per video, but we really can do little about it.