Pārlūkot izejas kodu

Do not force original aspect ratio to decrease, it causes bitmap subtitles to be off-centre

Petr Janda 5 gadi atpakaļ
vecāks
revīzija
a9766992b7

+ 1 - 3
MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

@@ -1593,9 +1593,7 @@ namespace MediaBrowser.Controller.MediaEncoding
                     state.VideoStream.Width.Value,
                     state.VideoStream.Width.Value,
                     state.VideoStream.Height.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))
                 if (string.Equals(outputVideoCodec, "h264_qsv", StringComparison.OrdinalIgnoreCase))
                 {
                 {
                     videoSizeParam += ",hwupload=extra_hw_frames=64";
                     videoSizeParam += ",hwupload=extra_hw_frames=64";