Files
jellyfin/MediaBrowser.Controller
gnattu 6f78ac2ff3 Use more accurate rounding in GetFixedOutputSize (#11435)
* Use more accurate rounding in GetFixedOutputSize

Signed-off-by: gnattu <gnattuoc@me.com>

* Force trickplay thumbnails to have even width

Signed-off-by: gnattu <gnattuoc@me.com>

* Use Convert.ToInt32

Signed-off-by: gnattu <gnattuoc@me.com>

* Force video size as thumbnail size if the trickplay width setting is larger

This will fix an issue when the trickplay setting contains a very huge width, but the video has a lower resolution than that setting. Our scaling filter logic will not do any upscale, and we have to force to use the video width

Signed-off-by: gnattu <gnattuoc@me.com>

---------

Signed-off-by: gnattu <gnattuoc@me.com>
2024-04-30 13:41:46 +02:00
..
2024-03-13 14:56:51 +01:00
2023-10-11 18:32:57 +02:00
2023-02-01 19:34:58 +01:00
2021-08-15 23:48:19 +02:00
2024-02-06 10:11:47 -05:00
2023-07-29 13:50:55 +02:00
2024-03-15 17:08:03 +08:00
2024-02-07 10:52:36 -05:00
2021-05-15 15:33:50 -06:00
2022-08-18 13:56:23 +02:00
2023-10-04 14:40:00 -04:00
2023-11-16 00:50:48 +01:00