mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
close ffmpeg more gracefully
This commit is contained in:
parent
d39aecd4a5
commit
14042a1ff3
10 changed files with 13 additions and 121 deletions
|
@ -515,9 +515,12 @@
|
|||
options.shape = 'banner';
|
||||
options.coverImage = true;
|
||||
}
|
||||
else {
|
||||
else if (primaryImageAspectRatio && Math.abs(primaryImageAspectRatio - 0.6666667) < .2) {
|
||||
options.shape = 'portrait';
|
||||
}
|
||||
else {
|
||||
options.shape = options.defaultShape || 'portrait';
|
||||
}
|
||||
}
|
||||
|
||||
for (var i = 0, length = items.length; i < length; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue