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:
parent
6f7836c11e
commit
32abbde477
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue