mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 12:28:19 +02:00
Do not force original aspect ratio to decrease, it causes bitmap subtitles to be off-centre
This commit is contained in:
parent
9ee0804407
commit
a9766992b7
1 changed files with 1 additions and 3 deletions
|
@ -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 now
|
||||||
|
|
||||||
//For QSV, feed it into hardware encoder
|
|
||||||
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";
|
||||||
|
|
Loading…
Reference in a new issue