mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 14:33:06 +03:00
sync updates
This commit is contained in:
@@ -81,12 +81,17 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||
VideoCodec = info.VideoCodec;
|
||||
VideoBitRate = info.VideoBitrate;
|
||||
AudioStreamIndex = info.AudioStreamIndex;
|
||||
SubtitleStreamIndex = info.SubtitleStreamIndex;
|
||||
MaxRefFrames = info.MaxRefFrames;
|
||||
MaxVideoBitDepth = info.MaxVideoBitDepth;
|
||||
SubtitleMethod = info.SubtitleDeliveryMethod;
|
||||
Cabac = info.Cabac;
|
||||
Context = info.Context;
|
||||
|
||||
if (info.SubtitleDeliveryMethod == SubtitleDeliveryMethod.Encode ||
|
||||
info.SubtitleDeliveryMethod == SubtitleDeliveryMethod.Embed)
|
||||
{
|
||||
SubtitleStreamIndex = info.SubtitleStreamIndex;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user