mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #3717 from dmitrylyzo/resolution
(cherry picked from commit f1ff81884a
)
Signed-off-by: Bill Thornton <billt2006@gmail.com>
This commit is contained in:
parent
8d46c7bddc
commit
08c8907f5a
6 changed files with 80 additions and 6 deletions
|
@ -39,7 +39,8 @@ function getDeviceProfile(item) {
|
|||
profile = profileBuilder(builderOpts);
|
||||
}
|
||||
|
||||
const maxTranscodingVideoWidth = appHost.screen()?.maxAllowedWidth;
|
||||
const maxVideoWidth = appSettings.maxVideoWidth();
|
||||
const maxTranscodingVideoWidth = maxVideoWidth < 0 ? appHost.screen()?.maxAllowedWidth : maxVideoWidth;
|
||||
|
||||
if (maxTranscodingVideoWidth) {
|
||||
profile.TranscodingProfiles.forEach((transcodingProfile) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue