From 32abbde477fd9c2476fa9535f20999ee8610c01e Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sun, 8 Jan 2012 01:35:31 +0000 Subject: [PATCH] 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. --- aegisub/src/video_context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/video_context.cpp b/aegisub/src/video_context.cpp index ef4c0ca5a..9429a85bb 100644 --- a/aegisub/src/video_context.cpp +++ b/aegisub/src/video_context.cpp @@ -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); } }