<feed xmlns='http://www.w3.org/2005/Atom'>
<title>jellyfin/tests/Jellyfin.MediaEncoding.Tests/Subtitles/SubtitleEncoderTests.cs, branch v12.0-rc4</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.lodewillems.com/jellyfin/atom?h=v12.0-rc4</id>
<link rel='self' href='https://git.lodewillems.com/jellyfin/atom?h=v12.0-rc4'/>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/'/>
<updated>2026-07-21T12:52:59Z</updated>
<entry>
<title>Fix subtitle encoding for local files (#17281)</title>
<updated>2026-07-21T12:52:59Z</updated>
<author>
<name>Tim Eisele</name>
<email>Tim_Eisele@web.de</email>
</author>
<published>2026-07-21T12:52:59Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=ed61acc19a958ceaf8de6f6f0f481b2b5370463a'/>
<id>urn:sha1:ed61acc19a958ceaf8de6f6f0f481b2b5370463a</id>
<content type='text'>
* Fix subtitle encoding

* Add short-circuit

* Use IsTextFormat

* Update MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs

Co-authored-by: Bond-009 &lt;bond.009@outlook.com&gt;

---------

Co-authored-by: Bond-009 &lt;bond.009@outlook.com&gt;</content>
</entry>
<entry>
<title>Fix race condition in concurrent subtitle conversion</title>
<updated>2026-07-15T12:55:55Z</updated>
<author>
<name>Piotr Niełacny</name>
<email>piotr.nielacny@gmail.com</email>
</author>
<published>2026-07-15T12:55:55Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=6e3c1874936b767754cd9267749f35b27f2ae65f'/>
<id>urn:sha1:6e3c1874936b767754cd9267749f35b27f2ae65f</id>
<content type='text'>
SubtitleEncoder.ConvertSubtitles parsed subtitles with libse's static
Subtitle.Parse, which iterates a statically cached list of shared
SubtitleFormat instances. Format parsers keep mutable per-parse state on
the instance, so concurrent subtitle requests corrupted each other's
output (cues mixed across streams and languages, truncated files) or
failed with NullReferenceException when format detection broke down and
Subtitle.Parse returned null.

Parse through the injected ISubtitleParser instead. SubtitleEditParser
instantiates a fresh format parser per call, so requests no longer share
state. Its Parse method now returns the libse Subtitle directly (the
SubtitleTrackInfo flattening was unused since the SubtitleEdit writer
rework) so the writers keep full fidelity such as ASS styling.
</content>
</entry>
<entry>
<title>Fix xUnit1030: Do not call ConfigureAwait in test method</title>
<updated>2023-09-18T15:55:52Z</updated>
<author>
<name>Bond_009</name>
<email>bond.009@outlook.com</email>
</author>
<published>2023-09-18T15:55:52Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=03b6adf068f007a66abbda515be940e702849d6b'/>
<id>urn:sha1:03b6adf068f007a66abbda515be940e702849d6b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix all warnings in MediaBrowser.MediaEncoding (#9073)</title>
<updated>2023-01-12T00:22:01Z</updated>
<author>
<name>Bond-009</name>
<email>bond.009@outlook.com</email>
</author>
<published>2023-01-12T00:22:01Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=81c8890b6d0f8b84dd52264d6c43e04dc130c79d'/>
<id>urn:sha1:81c8890b6d0f8b84dd52264d6c43e04dc130c79d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix build errors from new warnings</title>
<updated>2022-09-09T13:44:14Z</updated>
<author>
<name>Cody Robibero</name>
<email>cody@robibe.ro</email>
</author>
<published>2022-08-14T17:20:01Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=6004060b4ea6e68280c5d2e28799bb91fbc4f38e'/>
<id>urn:sha1:6004060b4ea6e68280c5d2e28799bb91fbc4f38e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix warning: Using directive is not required by the code and can be safely removed (#2149)</title>
<updated>2021-10-03T03:49:41Z</updated>
<author>
<name>KonH</name>
<email>konh@yandex.ru</email>
</author>
<published>2021-10-03T03:49:41Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=b6bf43af4590579a1902552ed1b1eaaa4946f7b3'/>
<id>urn:sha1:b6bf43af4590579a1902552ed1b1eaaa4946f7b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add regression test for issue #5168</title>
<updated>2021-09-18T13:31:45Z</updated>
<author>
<name>Bond_009</name>
<email>bond.009@outlook.com</email>
</author>
<published>2021-09-18T13:31:45Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=b0194bce6c0b5ede46b2f193539600c929441678'/>
<id>urn:sha1:b0194bce6c0b5ede46b2f193539600c929441678</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix SubtitleEncoder and add regression tests</title>
<updated>2021-09-18T13:23:55Z</updated>
<author>
<name>Bond_009</name>
<email>bond.009@outlook.com</email>
</author>
<published>2021-09-18T13:08:17Z</published>
<link rel='alternate' type='text/html' href='https://git.lodewillems.com/jellyfin/commit/?id=34b38454e06ab0e3c6a2eed2968ba365dde8d510'/>
<id>urn:sha1:34b38454e06ab0e3c6a2eed2968ba365dde8d510</id>
<content type='text'>
</content>
</entry>
</feed>
