<feed xmlns='http://www.w3.org/2005/Atom'>
<title>jellyfin/tests/Jellyfin.Model.Tests, branch v12.0-rc5</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.lodewillems.com/jellyfin/atom?h=v12.0-rc5</id>
<link rel='self' href='https://git.lodewillems.com/jellyfin/atom?h=v12.0-rc5'/>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/'/>
<updated>2026-08-07T15:33:37Z</updated>
<entry>
<title>Stop image endpoints from upscaling beyond the source resolution</title>
<updated>2026-08-07T15:33:37Z</updated>
<author>
<name>vavallee</name>
<email>vavallee@protonmail.com</email>
</author>
<published>2026-08-07T15:33:37Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=e120b7f2dd986d7f07f6814b6d987bafd46baab8'/>
<id>urn:sha1:e120b7f2dd986d7f07f6814b6d987bafd46baab8</id>
<content type='text'>
ImageHelper.GetNewImageSize passed the caller-supplied width/height straight
through to SkiaEncoder.EncodeImage, which allocates an SKImageInfo of exactly
that size. Nothing bounded those values against the source image, so a request
like Items/&lt;id&gt;/Images/Primary?width=23100&amp;height=23100 made the server allocate
and resample a 23100x23100 surface from, say, a 600x336 poster: the reporter
measured 100% of a core for 10-15 minutes and 6-12 GB resident per request.
The item images endpoints do not require authentication, so any caller who knows
an item id can trigger this, and varying the size by one pixel misses the cache
every time.

Add DrawingUtils.ScaleDownToFit, which scales a size down uniformly until it
fits inside a bounding box and returns it unchanged if it already does, and
apply it in GetNewImageSize against the original image dimensions. Requests
that ask for more pixels than the source now get the source resolution back,
scaled to the requested aspect ratio. Downscaling paths are untouched, and
DrawingUtils.Resize keeps its existing behaviour for the transcoding callers in
EncodingJobInfo and StreamInfo, which legitimately size video output.
ResizeFill already refused to upscale; this makes width/height consistent
with fillWidth/fillHeight.

Fixes #17056.
</content>
</entry>
<entry>
<title>Allow client-rendered graphical subtitles during remux</title>
<updated>2026-08-01T15:49:34Z</updated>
<author>
<name>altqx</name>
<email>al@altqx.com</email>
</author>
<published>2026-08-01T15:49:34Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=d4376e0539577e922b99fd300520d78909c65aae'/>
<id>urn:sha1:d4376e0539577e922b99fd300520d78909c65aae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Match VobSub MKS subtitle profiles by container</title>
<updated>2026-07-03T02:30:22Z</updated>
<author>
<name>altqx</name>
<email>al@altqx.com</email>
</author>
<published>2026-07-03T02:30:22Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=8622c3bfb78075ef78b2e89f0cf519e130b062c4'/>
<id>urn:sha1:8622c3bfb78075ef78b2e89f0cf519e130b062c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix tests</title>
<updated>2026-06-15T09:42:48Z</updated>
<author>
<name>Shadowghost</name>
<email>Ghost_of_Stone@web.de</email>
</author>
<published>2026-06-15T09:42:48Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=f9644f24d26e6bec2b7d632553ff7f3a412d76ab'/>
<id>urn:sha1:f9644f24d26e6bec2b7d632553ff7f3a412d76ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Embed external subtitles into MKV when transcoding</title>
<updated>2026-05-19T11:03:07Z</updated>
<author>
<name>Piotr Niełacny</name>
<email>piotr.nielacny@gmail.com</email>
</author>
<published>2026-03-21T20:57:58Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=2a689f268bc88ee7ab7e25121a6d43f71c1f8a5f'/>
<id>urn:sha1:2a689f268bc88ee7ab7e25121a6d43f71c1f8a5f</id>
<content type='text'>
Allow external subtitle files (SRT, ASS, PGS, etc.) to be muxed into
MKV output containers when the device profile requests Embed delivery.

Previously, the IsExternal guard in GetSubtitleProfile excluded external
subtitles from Embed consideration entirely, forcing them to be served
as separate sidecar files even when the output container supports
embedding.

Changes:
- Extract CanConsiderEmbedSubtitle in StreamBuilder to allow external
  subs through when transcoding to MKV
- Add external subtitle file as FFmpeg input (-i) for Embed delivery
- Map external embedded subs from the correct FFmpeg input index
- Fix external audio map index to account for the new subtitle input
- Extract NeedsExternalSubtitleMuxing in EncodingHelper to deduplicate
  the external subtitle input check

Fixes #16403
</content>
</entry>
<entry>
<title>Add tests for videoRotation profile condition</title>
<updated>2026-05-09T07:20:29Z</updated>
<author>
<name>nyanmisaka</name>
<email>nst799610810@gmail.com</email>
</author>
<published>2026-05-08T19:57:51Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=6d6dee9492c2c31bc53c250a72650cd88a300ec3'/>
<id>urn:sha1:6d6dee9492c2c31bc53c250a72650cd88a300ec3</id>
<content type='text'>
Signed-off-by: nyanmisaka &lt;nst799610810@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge pull request #16666 from Shadowghost/xunit3</title>
<updated>2026-04-24T16:59:31Z</updated>
<author>
<name>Bond-009</name>
<email>bond.009@outlook.com</email>
</author>
<published>2026-04-24T16:59:31Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=b1e2419c6593a3aa4c8df3778831a3214ae5a1c0'/>
<id>urn:sha1:b1e2419c6593a3aa4c8df3778831a3214ae5a1c0</id>
<content type='text'>
Upgrade to xunit v3</content>
</entry>
<entry>
<title>Upgrade to xunit v3</title>
<updated>2026-04-19T16:41:39Z</updated>
<author>
<name>Shadowghost</name>
<email>Ghost_of_Stone@web.de</email>
</author>
<published>2026-04-19T16:41:39Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=bd70e0ca343c334c03140e66f6c4b9df384187b7'/>
<id>urn:sha1:bd70e0ca343c334c03140e66f6c4b9df384187b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #16380 from LTe/fix-subtitle-extraction-setting</title>
<updated>2026-04-11T09:37:17Z</updated>
<author>
<name>Bond-009</name>
<email>bond.009@outlook.com</email>
</author>
<published>2026-04-11T09:37:17Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=046023b9ddbfa3cec30acded1cb547ee7a0628af'/>
<id>urn:sha1:046023b9ddbfa3cec30acded1cb547ee7a0628af</id>
<content type='text'>
Respect EnableSubtitleExtraction setting in subtitle delivery</content>
</entry>
<entry>
<title>Respect EnableSubtitleExtraction setting in subtitle delivery</title>
<updated>2026-03-13T15:34:44Z</updated>
<author>
<name>Piotr Niełacny</name>
<email>piotr.nielacny@gmail.com</email>
</author>
<published>2026-03-13T15:34:44Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=37983c943a7f65850cc2bd4854f22dbe2ae92c28'/>
<id>urn:sha1:37983c943a7f65850cc2bd4854f22dbe2ae92c28</id>
<content type='text'>
Wire up EnableSubtitleExtraction config to MediaEncoder.CanExtractSubtitles
so the setting is actually respected. Gate subtitle extraction check behind
PlayMethod.Transcode since DirectPlay has no competing ffmpeg process.

Add parameterized tests for StreamBuilder.GetSubtitleProfile covering
text and graphical codecs, profile format matching, and extraction
setting behavior. Remove misplaced SubtitleEncoder extraction test.
</content>
</entry>
</feed>
