mirror of https://github.com/odrling/Aegisub
Add missing swap in ThreadedFrameSource::ProcFrame that resulted in the full subtitle file never being loaded
Originally committed to SVN as r4793.
This commit is contained in:
parent
682fd9406c
commit
4bf3b44cc0
|
@ -97,6 +97,7 @@ std::tr1::shared_ptr<AegiVideoFrame> ThreadedFrameSource::ProcFrame(int frameNum
|
|||
try {
|
||||
std::swap(subs->Line, visible);
|
||||
provider->LoadSubtitles(subs.get());
|
||||
std::swap(subs->Line, visible);
|
||||
}
|
||||
catch(...) {
|
||||
std::swap(subs->Line, visible);
|
||||
|
|
Loading…
Reference in New Issue