remove all use of setsar filter (#928)
This commit is contained in:
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
## [Unreleased]
|
||||
### Fixed
|
||||
- Use MIME Type `application/x-mpegurl` for all playlists instead of `application/vnd.apple.mpegurl`
|
||||
- Remove `setsar` filter which caused issues scaling between two different aspect ratios
|
||||
- For example, some 4:3 content would appear stretched when scaled to a 16:9 resolution
|
||||
|
||||
### Added
|
||||
- Support DSD audio file formats (DFF and DSF) in local song libraries
|
||||
|
||||
@@ -379,10 +379,6 @@ public class PipelineBuilder
|
||||
IPipelineFilterStep padStep = new PadFilter(currentState, desiredState.PaddedSize);
|
||||
currentState = padStep.NextState(currentState);
|
||||
_videoInputFile.Iter(f => f.FilterSteps.Add(padStep));
|
||||
|
||||
IPipelineFilterStep sarStep = new SetSarFilter();
|
||||
currentState = sarStep.NextState(currentState);
|
||||
_videoInputFile.Iter(f => f.FilterSteps.Add(sarStep));
|
||||
}
|
||||
}
|
||||
else if (currentState.ScaledSize != desiredState.ScaledSize)
|
||||
@@ -402,10 +398,6 @@ public class PipelineBuilder
|
||||
currentState = padStep.NextState(currentState);
|
||||
_videoInputFile.Iter(f => f.FilterSteps.Add(padStep));
|
||||
}
|
||||
|
||||
IPipelineFilterStep sarStep = new SetSarFilter();
|
||||
currentState = sarStep.NextState(currentState);
|
||||
_videoInputFile.Iter(f => f.FilterSteps.Add(sarStep));
|
||||
}
|
||||
else if (currentState.PaddedSize != desiredState.PaddedSize)
|
||||
{
|
||||
@@ -423,10 +415,6 @@ public class PipelineBuilder
|
||||
currentState = padStep.NextState(currentState);
|
||||
_videoInputFile.Iter(f => f.FilterSteps.Add(padStep));
|
||||
}
|
||||
|
||||
IPipelineFilterStep sarStep = new SetSarFilter();
|
||||
currentState = sarStep.NextState(currentState);
|
||||
_videoInputFile.Iter(f => f.FilterSteps.Add(sarStep));
|
||||
}
|
||||
|
||||
if (hasOverlay && currentState.PixelFormat.Map(pf => pf.FFmpegName) !=
|
||||
|
||||
Reference in New Issue
Block a user