Skip to content

Commit

Permalink
Use single quote
Browse files Browse the repository at this point in the history
Signed-off-by: gnattu <gnattuoc@me.com>
  • Loading branch information
gnattu committed May 23, 2024
1 parent f8da69f commit 933a285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ public Task<string> ExtractVideoImagesOnIntervalAccelerated(
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.
Expand Down

0 comments on commit 933a285

Please sign in to comment.