mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 23:13:06 +03:00
Fix transcoding bitrate
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user