Pass a copy of the video filename to SetVideo in VideoContext::Reload so that it doesn't get cleared by Reset

Originally committed to SVN as r6240.
This commit is contained in:
Thomas Goyne 2012-01-08 01:35:31 +00:00
parent 6f7836c11e
commit 32abbde477

View file

@ -237,7 +237,7 @@ void VideoContext::SetVideo(const wxString &filename) {
void VideoContext::Reload() {
if (IsLoaded()) {
int frame = frame_n;
SetVideo(videoFile);
SetVideo(videoFile.Clone());
JumpToFrame(frame);
}
}