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:
Thomas Goyne 2010-10-08 06:06:32 +00:00
parent 682fd9406c
commit 4bf3b44cc0

View file

@ -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);