From e7eb42906aa1a0640b975410a0ea11885a4c0818 Mon Sep 17 00:00:00 2001 From: Rodrigo Braz Monteiro Date: Tue, 17 Apr 2007 01:19:04 +0000 Subject: [PATCH] Fixed unloading of video. Originally committed to SVN as r1086. --- aegisub/frame_main.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/aegisub/frame_main.cpp b/aegisub/frame_main.cpp index b0d6fed12..b14387ffb 100644 --- a/aegisub/frame_main.cpp +++ b/aegisub/frame_main.cpp @@ -806,14 +806,14 @@ void FrameMain::SynchronizeProject(bool fromSubs) { // Video if (curSubsVideo != VideoContext::Get()->videoName) { - if (curSubsVideo != _T("")) { - LoadVideo(curSubsVideo); - if (VideoContext::Get()->IsLoaded()) { - VideoContext::Get()->SetAspectRatio(videoAr,videoArValue); - videoBox->videoDisplay->SetZoomPos(videoZoom-1); - VideoContext::Get()->JumpToFrame(videoPos); - } + //if (curSubsVideo != _T("")) { + LoadVideo(curSubsVideo); + if (VideoContext::Get()->IsLoaded()) { + VideoContext::Get()->SetAspectRatio(videoAr,videoArValue); + videoBox->videoDisplay->SetZoomPos(videoZoom-1); + VideoContext::Get()->JumpToFrame(videoPos); } + //} } // Keyframes