1
0
mirror of https://github.com/odrling/Aegisub synced 2025-04-11 22:56:02 +02:00
Thomas Goyne 15a4eca7ce Fix crash on (auto)save when using CSRI and video is open
Calling AssFile::Save/Load from multiple threads (even on different
objects) was not safe due to that is uses SubtitleFormat internally,
which was inheriently thread-unsafe. To fix this, change
SubtitleFormat's interface to support immutable implementations, and
make all of the current implementations immutable.

This isn't a perfect solution - making a subtitle format implemented in
lua immutable would be rather difficult - so at some point in the future
SubtitleFormat should probably be changed to a factory which returns new
objects from GetReader/GetWriter.

Originally committed to SVN as r6365.
2012-01-26 20:08:38 +00:00
..
2012-01-14 18:46:43 +00:00
2012-01-14 18:46:43 +00:00
2012-01-14 18:46:43 +00:00
2012-01-14 18:46:49 +00:00
2009-03-08 08:30:39 +00:00
2012-01-14 18:46:43 +00:00
2012-01-14 18:46:49 +00:00
2012-01-14 18:46:49 +00:00
2009-03-08 08:30:39 +00:00

* To be written.