mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
don't direct stream anamorphic video to web client
This commit is contained in:
parent
32a0d7fcf0
commit
6a7cbb040f
@ -275,6 +275,11 @@
|
||||
return false;
|
||||
}
|
||||
|
||||
if (videoStream && videoStream.IsAnamorphic) {
|
||||
console.log('Transcoding because video is anamorphic');
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!mediaSource.Bitrate || mediaSource.Bitrate > bitrate) {
|
||||
console.log('Transcoding because bitrate is too high');
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user