mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
don't direct stream anamorphic video to web client
This commit is contained in:
parent
32a0d7fcf0
commit
6a7cbb040f
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue