mirror of https://github.com/odrling/Aegisub
Fixed unloading of video.
Originally committed to SVN as r1086.
This commit is contained in:
parent
6724424880
commit
e7eb42906a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue