mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04:00
Fix transcoding bitrate
This commit is contained in:
parent
060eb98cc5
commit
ae73f7b3e3
@ -1093,11 +1093,6 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||||||
|
|
||||||
if (videoStream != null)
|
if (videoStream != null)
|
||||||
{
|
{
|
||||||
if (bitrate.HasValue && videoStream.BitRate.HasValue)
|
|
||||||
{
|
|
||||||
bitrate = Math.Min(videoStream.BitRate.Value, bitrate.Value);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (bitrate.HasValue)
|
if (bitrate.HasValue)
|
||||||
{
|
{
|
||||||
var inputVideoCodec = videoStream.Codec;
|
var inputVideoCodec = videoStream.Codec;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user