diff options
| author | Petr Janda <petr.janda@holidaysinhell.com> | 2019-12-06 06:08:45 +1030 |
|---|---|---|
| committer | Petr Janda <petr.janda@holidaysinhell.com> | 2019-12-06 06:08:45 +1030 |
| commit | a9766992b7893c134c8227a134947ab2e48db0b8 (patch) | |
| tree | 7b2df9a2b747b7bdb2d164c43fa8771a370db96c /MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs | |
| parent | 9ee0804407d2a3cbcae913386f8799d938f6b7ed (diff) | |
Do not force original aspect ratio to decrease, it causes bitmap subtitles to be off-centre
Diffstat (limited to 'MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs')
| -rw-r--r-- | MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs index 480f33e43..d3cef23bd 100644 --- a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs +++ b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs @@ -1593,9 +1593,7 @@ namespace MediaBrowser.Controller.MediaEncoding state.VideoStream.Width.Value, state.VideoStream.Height.Value); - videoSizeParam += ":force_original_aspect_ratio=decrease"; - - //For QSV, feed it into hardware encoder + //For QSV, feed it into hardware encoder now if (string.Equals(outputVideoCodec, "h264_qsv", StringComparison.OrdinalIgnoreCase)) { videoSizeParam += ",hwupload=extra_hw_frames=64"; |
